google-api-client 0.43.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) 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 +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -23,34 +23,21 @@ module Google
23
23
  module MlV1
24
24
 
25
25
  # Message that represents an arbitrary HTTP body. It should only be used for
26
- # payload formats that can't be represented as JSON, such as raw binary or
27
- # an HTML page.
28
- # This message can be used both in streaming and non-streaming API methods in
29
- # the request as well as the response.
30
- # It can be used as a top-level request field, which is convenient if one
31
- # wants to extract parameters from either the URL or HTTP template into the
32
- # request fields and also want access to the raw HTTP body.
33
- # Example:
34
- # message GetResourceRequest `
35
- # // A unique request id.
36
- # string request_id = 1;
37
- # // The raw HTTP body is bound to this field.
38
- # google.api.HttpBody http_body = 2;
39
- # `
40
- # service ResourceService `
41
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
42
- # rpc UpdateResource(google.api.HttpBody) returns
43
- # (google.protobuf.Empty);
44
- # `
45
- # Example with streaming methods:
46
- # service CaldavService `
47
- # rpc GetCalendar(stream google.api.HttpBody)
48
- # returns (stream google.api.HttpBody);
49
- # rpc UpdateCalendar(stream google.api.HttpBody)
50
- # returns (stream google.api.HttpBody);
51
- # `
52
- # Use of this type only changes how the request and response bodies are
53
- # handled, all other features will continue to work unchanged.
26
+ # payload formats that can't be represented as JSON, such as raw binary or an
27
+ # HTML page. This message can be used both in streaming and non-streaming API
28
+ # methods in the request as well as the response. It can be used as a top-level
29
+ # request field, which is convenient if one wants to extract parameters from
30
+ # either the URL or HTTP template into the request fields and also want access
31
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
32
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
33
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
34
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
35
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
36
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
37
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
38
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
39
+ # only changes how the request and response bodies are handled, all other
40
+ # features will continue to work unchanged.
54
41
  class GoogleApiHttpBody
55
42
  include Google::Apis::Core::Hashable
56
43
 
@@ -65,8 +52,8 @@ module Google
65
52
  # @return [String]
66
53
  attr_accessor :data
67
54
 
68
- # Application specific response metadata. Must be set in the first response
69
- # for streaming APIs.
55
+ # Application specific response metadata. Must be set in the first response for
56
+ # streaming APIs.
70
57
  # Corresponds to the JSON property `extensions`
71
58
  # @return [Array<Hash<String,Object>>]
72
59
  attr_accessor :extensions
@@ -87,9 +74,8 @@ module Google
87
74
  class GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig
88
75
  include Google::Apis::Core::Hashable
89
76
 
90
- # If true, measurement.elapsed_time is used as the x-axis of each
91
- # Trials Decay Curve. Otherwise, Measurement.steps will be used as the
92
- # x-axis.
77
+ # If true, measurement.elapsed_time is used as the x-axis of each Trials Decay
78
+ # Curve. Otherwise, Measurement.steps will be used as the x-axis.
93
79
  # Corresponds to the JSON property `useElapsedTime`
94
80
  # @return [Boolean]
95
81
  attr_accessor :use_elapsed_time
@@ -105,19 +91,18 @@ module Google
105
91
  end
106
92
  end
107
93
 
108
- # The median automated stopping rule stops a pending trial if the trial's
109
- # best objective_value is strictly below the median 'performance' of all
110
- # completed trials reported up to the trial's last measurement.
111
- # Currently, 'performance' refers to the running average of the objective
112
- # values reported by the trial in each measurement.
94
+ # The median automated stopping rule stops a pending trial if the trial's best
95
+ # objective_value is strictly below the median 'performance' of all completed
96
+ # trials reported up to the trial's last measurement. Currently, 'performance'
97
+ # refers to the running average of the objective values reported by the trial in
98
+ # each measurement.
113
99
  class GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig
114
100
  include Google::Apis::Core::Hashable
115
101
 
116
- # If true, the median automated stopping rule applies to
117
- # measurement.use_elapsed_time, which means the elapsed_time field of
118
- # the current trial's
119
- # latest measurement is used to compute the median objective
120
- # value for each completed trial.
102
+ # If true, the median automated stopping rule applies to measurement.
103
+ # use_elapsed_time, which means the elapsed_time field of the current trial's
104
+ # latest measurement is used to compute the median objective value for each
105
+ # completed trial.
121
106
  # Corresponds to the JSON property `useElapsedTime`
122
107
  # @return [Boolean]
123
108
  attr_accessor :use_elapsed_time
@@ -187,8 +172,7 @@ module Google
187
172
  class GoogleCloudMlV1StudyConfigParameterSpecCategoricalValueSpec
188
173
  include Google::Apis::Core::Hashable
189
174
 
190
- # Must be specified if type is `CATEGORICAL`.
191
- # The list of possible categories.
175
+ # Must be specified if type is `CATEGORICAL`. The list of possible categories.
192
176
  # Corresponds to the JSON property `values`
193
177
  # @return [Array<String>]
194
178
  attr_accessor :values
@@ -207,11 +191,10 @@ module Google
207
191
  class GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec
208
192
  include Google::Apis::Core::Hashable
209
193
 
210
- # Must be specified if type is `DISCRETE`.
211
- # A list of feasible points.
212
- # The list should be in strictly increasing order. For instance, this
213
- # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
214
- # should not contain more than 1,000 values.
194
+ # Must be specified if type is `DISCRETE`. A list of feasible points. The list
195
+ # should be in strictly increasing order. For instance, this parameter might
196
+ # have possible settings of 1.5, 2.5, and 4.0. This list should not contain more
197
+ # than 1,000 values.
215
198
  # Corresponds to the JSON property `values`
216
199
  # @return [Array<Float>]
217
200
  attr_accessor :values
@@ -280,8 +263,8 @@ module Google
280
263
  class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentCategoricalValueSpec
281
264
  include Google::Apis::Core::Hashable
282
265
 
283
- # Matches values of the parent parameter with type 'CATEGORICAL'.
284
- # All values must exist in `categorical_value_spec` of parent parameter.
266
+ # Matches values of the parent parameter with type 'CATEGORICAL'. All values
267
+ # must exist in `categorical_value_spec` of parent parameter.
285
268
  # Corresponds to the JSON property `values`
286
269
  # @return [Array<String>]
287
270
  attr_accessor :values
@@ -300,8 +283,8 @@ module Google
300
283
  class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentDiscreteValueSpec
301
284
  include Google::Apis::Core::Hashable
302
285
 
303
- # Matches values of the parent parameter with type 'DISCRETE'.
304
- # All values must exist in `discrete_value_spec` of parent parameter.
286
+ # Matches values of the parent parameter with type 'DISCRETE'. All values must
287
+ # exist in `discrete_value_spec` of parent parameter.
305
288
  # Corresponds to the JSON property `values`
306
289
  # @return [Array<Float>]
307
290
  attr_accessor :values
@@ -320,8 +303,8 @@ module Google
320
303
  class GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec
321
304
  include Google::Apis::Core::Hashable
322
305
 
323
- # Matches values of the parent parameter with type 'INTEGER'.
324
- # All values must lie in `integer_value_spec` of parent parameter.
306
+ # Matches values of the parent parameter with type 'INTEGER'. All values must
307
+ # lie in `integer_value_spec` of parent parameter.
325
308
  # Corresponds to the JSON property `values`
326
309
  # @return [Array<Fixnum>]
327
310
  attr_accessor :values
@@ -371,9 +354,8 @@ module Google
371
354
  attr_accessor :categorical_value_spec
372
355
 
373
356
  # A child node is active if the parameter's value matches the child node's
374
- # matching_parent_values.
375
- # If two items in child_parameter_specs have the same name, they must have
376
- # disjoint matching_parent_values.
357
+ # matching_parent_values. If two items in child_parameter_specs have the same
358
+ # name, they must have disjoint matching_parent_values.
377
359
  # Corresponds to the JSON property `childParameterSpecs`
378
360
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpec>]
379
361
  attr_accessor :child_parameter_specs
@@ -413,8 +395,7 @@ module Google
413
395
  # @return [Google::Apis::MlV1::GoogleCloudMlV1StudyConfigParameterSpecMatchingParentIntValueSpec]
414
396
  attr_accessor :parent_int_values
415
397
 
416
- # How the parameter should be scaled.
417
- # Leave unset for categorical parameters.
398
+ # How the parameter should be scaled. Leave unset for categorical parameters.
418
399
  # Corresponds to the JSON property `scaleType`
419
400
  # @return [String]
420
401
  attr_accessor :scale_type
@@ -444,8 +425,8 @@ module Google
444
425
  end
445
426
  end
446
427
 
447
- # A message representing a parameter to be tuned. Contains the name of
448
- # the parameter and the suggested value to use for this trial.
428
+ # A message representing a parameter to be tuned. Contains the name of the
429
+ # parameter and the suggested value to use for this trial.
449
430
  class GoogleCloudMlV1TrialParameter
450
431
  include Google::Apis::Core::Hashable
451
432
 
@@ -482,11 +463,10 @@ module Google
482
463
  end
483
464
  end
484
465
 
485
- # Represents a hardware accelerator request config.
486
- # Note that the AcceleratorConfig can be used in both Jobs and Versions.
487
- # Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
488
- # [accelerators for online
489
- # prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
466
+ # Represents a hardware accelerator request config. Note that the
467
+ # AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
468
+ # accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
469
+ # online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
490
470
  class GoogleCloudMlV1AcceleratorConfig
491
471
  include Google::Apis::Core::Hashable
492
472
 
@@ -534,48 +514,42 @@ module Google
534
514
  class GoogleCloudMlV1AutoScaling
535
515
  include Google::Apis::Core::Hashable
536
516
 
537
- # Optional. The minimum number of nodes to allocate for this model. These
538
- # nodes are always up, starting from the time the model is deployed.
539
- # Therefore, the cost of operating this model will be at least
540
- # `rate` * `min_nodes` * number of hours since last billing cycle,
541
- # where `rate` is the cost per node-hour as documented in the
542
- # [pricing guide](/ml-engine/docs/pricing),
543
- # even if no predictions are performed. There is additional cost for each
544
- # prediction performed.
545
- # Unlike manual scaling, if the load gets too heavy for the nodes
546
- # that are up, the service will automatically add nodes to handle the
547
- # increased load as well as scale back as traffic drops, always maintaining
548
- # at least `min_nodes`. You will be charged for the time in which additional
549
- # nodes are used.
550
- # If `min_nodes` is not specified and AutoScaling is used with a [legacy
551
- # (MLS1) machine type](/ml-engine/docs/machine-types-online-prediction),
552
- # `min_nodes` defaults to 0, in which case, when traffic to a model stops
553
- # (and after a cool-down period), nodes will be shut down and no charges will
554
- # be incurred until traffic to the model resumes.
555
- # If `min_nodes` is not specified and AutoScaling is used with a [Compute
556
- # Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction),
557
- # `min_nodes` defaults to 1. `min_nodes` must be at least 1 for use with a
558
- # Compute Engine machine type.
559
- # Note that you cannot use AutoScaling if your version uses
560
- # [GPUs](#Version.FIELDS.accelerator_config). Instead, you must use
561
- # ManualScaling.
562
- # You can set `min_nodes` when creating the model version, and you can also
563
- # update `min_nodes` for an existing version:
564
- # <pre>
565
- # update_body.json:
566
- # `
567
- # 'autoScaling': `
568
- # 'minNodes': 5
569
- # `
570
- # `
571
- # </pre>
572
- # HTTP request:
573
- # <pre style="max-width: 626px;">
574
- # PATCH
575
- # https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?update_mask=
576
- # autoScaling.minNodes
577
- # -d @./update_body.json
578
- # </pre>
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
+
529
+ # Optional. The minimum number of nodes to allocate for this model. These nodes
530
+ # are always up, starting from the time the model is deployed. Therefore, the
531
+ # cost of operating this model will be at least `rate` * `min_nodes` * number of
532
+ # hours since last billing cycle, where `rate` is the cost per node-hour as
533
+ # documented in the [pricing guide](/ml-engine/docs/pricing), even if no
534
+ # predictions are performed. There is additional cost for each prediction
535
+ # performed. Unlike manual scaling, if the load gets too heavy for the nodes
536
+ # that are up, the service will automatically add nodes to handle the increased
537
+ # load as well as scale back as traffic drops, always maintaining at least `
538
+ # min_nodes`. You will be charged for the time in which additional nodes are
539
+ # used. If `min_nodes` is not specified and AutoScaling is used with a [legacy (
540
+ # MLS1) machine type](/ml-engine/docs/machine-types-online-prediction), `
541
+ # min_nodes` defaults to 0, in which case, when traffic to a model stops (and
542
+ # after a cool-down period), nodes will be shut down and no charges will be
543
+ # incurred until traffic to the model resumes. If `min_nodes` is not specified
544
+ # and AutoScaling is used with a [Compute Engine (N1) machine type](/ml-engine/
545
+ # docs/machine-types-online-prediction), `min_nodes` defaults to 1. `min_nodes`
546
+ # must be at least 1 for use with a Compute Engine machine type. Note that you
547
+ # cannot use AutoScaling if your version uses [GPUs](#Version.FIELDS.
548
+ # accelerator_config). Instead, you must use ManualScaling. You can set `
549
+ # min_nodes` when creating the model version, and you can also update `min_nodes`
550
+ # for an existing version: update_body.json: ` 'autoScaling': ` 'minNodes': 5 `
551
+ # ` HTTP request: PATCH https://ml.googleapis.com/v1/`name=projects/*/models/*/
552
+ # versions/*`?update_mask=autoScaling.minNodes -d @./update_body.json
579
553
  # Corresponds to the JSON property `minNodes`
580
554
  # @return [Fixnum]
581
555
  attr_accessor :min_nodes
@@ -586,6 +560,8 @@ module Google
586
560
 
587
561
  # Update properties of this object
588
562
  def update!(**args)
563
+ @max_nodes = args[:max_nodes] if args.key?(:max_nodes)
564
+ @metrics = args[:metrics] if args.key?(:metrics)
589
565
  @min_nodes = args[:min_nodes] if args.key?(:min_nodes)
590
566
  end
591
567
  end
@@ -600,11 +576,11 @@ module Google
600
576
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigDecayCurveAutomatedStoppingConfig]
601
577
  attr_accessor :decay_curve_stopping_config
602
578
 
603
- # The median automated stopping rule stops a pending trial if the trial's
604
- # best objective_value is strictly below the median 'performance' of all
605
- # completed trials reported up to the trial's last measurement.
606
- # Currently, 'performance' refers to the running average of the objective
607
- # values reported by the trial in each measurement.
579
+ # The median automated stopping rule stops a pending trial if the trial's best
580
+ # objective_value is strictly below the median 'performance' of all completed
581
+ # trials reported up to the trial's last measurement. Currently, 'performance'
582
+ # refers to the running average of the objective values reported by the trial in
583
+ # each measurement.
608
584
  # Corresponds to the JSON property `medianAutomatedStoppingConfig`
609
585
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutomatedStoppingConfigMedianAutomatedStoppingConfig]
610
586
  attr_accessor :median_automated_stopping_config
@@ -629,9 +605,9 @@ module Google
629
605
  # @return [String]
630
606
  attr_accessor :framework
631
607
 
632
- # The Cloud Storage path to the `model/` directory where the training job
633
- # saves the trained model. Only set for successful jobs that don't use
634
- # hyperparameter tuning.
608
+ # The Cloud Storage path to the `model/` directory where the training job saves
609
+ # the trained model. Only set for successful jobs that don't use hyperparameter
610
+ # tuning.
635
611
  # Corresponds to the JSON property `modelPath`
636
612
  # @return [String]
637
613
  attr_accessor :model_path
@@ -641,8 +617,7 @@ module Google
641
617
  # @return [String]
642
618
  attr_accessor :python_version
643
619
 
644
- # AI Platform runtime version on which the built-in algorithm was
645
- # trained.
620
+ # AI Platform runtime version on which the built-in algorithm was trained.
646
621
  # Corresponds to the JSON property `runtimeVersion`
647
622
  # @return [String]
648
623
  attr_accessor :runtime_version
@@ -698,9 +673,8 @@ module Google
698
673
  end
699
674
  end
700
675
 
701
- # This message will be placed in the metadata field of a
702
- # google.longrunning.Operation associated with a CheckTrialEarlyStoppingState
703
- # request.
676
+ # This message will be placed in the metadata field of a google.longrunning.
677
+ # Operation associated with a CheckTrialEarlyStoppingState request.
704
678
  class GoogleCloudMlV1CheckTrialEarlyStoppingStateMetatdata
705
679
  include Google::Apis::Core::Hashable
706
680
 
@@ -744,9 +718,8 @@ module Google
744
718
  end
745
719
  end
746
720
 
747
- # The message will be placed in the response field of a completed
748
- # google.longrunning.Operation associated with a CheckTrialEarlyStoppingState
749
- # request.
721
+ # The message will be placed in the response field of a completed google.
722
+ # longrunning.Operation associated with a CheckTrialEarlyStoppingState request.
750
723
  class GoogleCloudMlV1CheckTrialEarlyStoppingStateResponse
751
724
  include Google::Apis::Core::Hashable
752
725
 
@@ -831,15 +804,171 @@ module Google
831
804
  end
832
805
  end
833
806
 
834
- # Represents a custom encryption key configuration that can be applied to
835
- # a resource.
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).
810
+ class GoogleCloudMlV1ContainerPort
811
+ include Google::Apis::Core::Hashable
812
+
813
+ # Number of the port to expose on the container. This must be a valid port
814
+ # number: 0 < PORT_NUMBER < 65536.
815
+ # Corresponds to the JSON property `containerPort`
816
+ # @return [Fixnum]
817
+ attr_accessor :container_port
818
+
819
+ def initialize(**args)
820
+ update!(**args)
821
+ end
822
+
823
+ # Update properties of this object
824
+ def update!(**args)
825
+ @container_port = args[:container_port] if args.key?(:container_port)
826
+ end
827
+ end
828
+
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).
832
+ class GoogleCloudMlV1ContainerSpec
833
+ include Google::Apis::Core::Hashable
834
+
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).
861
+ # Corresponds to the JSON property `args`
862
+ # @return [Array<String>]
863
+ attr_accessor :args
864
+
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).
892
+ # Corresponds to the JSON property `command`
893
+ # @return [Array<String>]
894
+ attr_accessor :command
895
+
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).
907
+ # Corresponds to the JSON property `env`
908
+ # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1EnvVar>]
909
+ attr_accessor :env
910
+
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).
933
+ # Corresponds to the JSON property `image`
934
+ # @return [String]
935
+ attr_accessor :image
936
+
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).
946
+ # Corresponds to the JSON property `ports`
947
+ # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ContainerPort>]
948
+ attr_accessor :ports
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @args = args[:args] if args.key?(:args)
957
+ @command = args[:command] if args.key?(:command)
958
+ @env = args[:env] if args.key?(:env)
959
+ @image = args[:image] if args.key?(:image)
960
+ @ports = args[:ports] if args.key?(:ports)
961
+ end
962
+ end
963
+
964
+ # Represents a custom encryption key configuration that can be applied to a
965
+ # resource.
836
966
  class GoogleCloudMlV1EncryptionConfig
837
967
  include Google::Apis::Core::Hashable
838
968
 
839
- # The Cloud KMS resource identifier of the customer-managed encryption key
840
- # used to protect a resource, such as a training job. It has the following
841
- # format:
842
- # `projects/`PROJECT_ID`/locations/`REGION`/keyRings/`KEY_RING_NAME`/cryptoKeys/`
969
+ # The Cloud KMS resource identifier of the customer-managed encryption key used
970
+ # to protect a resource, such as a training job. It has the following format: `
971
+ # projects/`PROJECT_ID`/locations/`REGION`/keyRings/`KEY_RING_NAME`/cryptoKeys/`
843
972
  # KEY_NAME``
844
973
  # Corresponds to the JSON property `kmsKeyName`
845
974
  # @return [String]
@@ -855,39 +984,65 @@ module Google
855
984
  end
856
985
  end
857
986
 
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).
990
+ class GoogleCloudMlV1EnvVar
991
+ include Google::Apis::Core::Hashable
992
+
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_`.
997
+ # Corresponds to the JSON property `name`
998
+ # @return [String]
999
+ attr_accessor :name
1000
+
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)
1011
+ # Corresponds to the JSON property `value`
1012
+ # @return [String]
1013
+ attr_accessor :value
1014
+
1015
+ def initialize(**args)
1016
+ update!(**args)
1017
+ end
1018
+
1019
+ # Update properties of this object
1020
+ def update!(**args)
1021
+ @name = args[:name] if args.key?(:name)
1022
+ @value = args[:value] if args.key?(:value)
1023
+ end
1024
+ end
1025
+
858
1026
  # Request for explanations to be issued against a trained model.
859
1027
  class GoogleCloudMlV1ExplainRequest
860
1028
  include Google::Apis::Core::Hashable
861
1029
 
862
1030
  # Message that represents an arbitrary HTTP body. It should only be used for
863
- # payload formats that can't be represented as JSON, such as raw binary or
864
- # an HTML page.
865
- # This message can be used both in streaming and non-streaming API methods in
866
- # the request as well as the response.
867
- # It can be used as a top-level request field, which is convenient if one
868
- # wants to extract parameters from either the URL or HTTP template into the
869
- # request fields and also want access to the raw HTTP body.
870
- # Example:
871
- # message GetResourceRequest `
872
- # // A unique request id.
873
- # string request_id = 1;
874
- # // The raw HTTP body is bound to this field.
875
- # google.api.HttpBody http_body = 2;
876
- # `
877
- # service ResourceService `
878
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
879
- # rpc UpdateResource(google.api.HttpBody) returns
880
- # (google.protobuf.Empty);
881
- # `
882
- # Example with streaming methods:
883
- # service CaldavService `
884
- # rpc GetCalendar(stream google.api.HttpBody)
885
- # returns (stream google.api.HttpBody);
886
- # rpc UpdateCalendar(stream google.api.HttpBody)
887
- # returns (stream google.api.HttpBody);
888
- # `
889
- # Use of this type only changes how the request and response bodies are
890
- # handled, all other features will continue to work unchanged.
1031
+ # payload formats that can't be represented as JSON, such as raw binary or an
1032
+ # HTML page. This message can be used both in streaming and non-streaming API
1033
+ # methods in the request as well as the response. It can be used as a top-level
1034
+ # request field, which is convenient if one wants to extract parameters from
1035
+ # either the URL or HTTP template into the request fields and also want access
1036
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
1037
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
1038
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
1039
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
1040
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
1041
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
1042
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
1043
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
1044
+ # only changes how the request and response bodies are handled, all other
1045
+ # features will continue to work unchanged.
891
1046
  # Corresponds to the JSON property `httpBody`
892
1047
  # @return [Google::Apis::MlV1::GoogleApiHttpBody]
893
1048
  attr_accessor :http_body
@@ -902,17 +1057,16 @@ module Google
902
1057
  end
903
1058
  end
904
1059
 
905
- # Message holding configuration options for explaining model predictions.
906
- # There are two feature attribution methods supported for TensorFlow models:
907
- # integrated gradients and sampled Shapley.
908
- # [Learn more about feature
1060
+ # Message holding configuration options for explaining model predictions. There
1061
+ # are three feature attribution methods supported for TensorFlow models:
1062
+ # integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
909
1063
  # attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
910
1064
  class GoogleCloudMlV1ExplanationConfig
911
1065
  include Google::Apis::Core::Hashable
912
1066
 
913
- # Attributes credit by computing the Aumann-Shapley value taking advantage
914
- # of the model's fully differentiable structure. Refer to this paper for
915
- # more details: https://arxiv.org/abs/1703.01365
1067
+ # Attributes credit by computing the Aumann-Shapley value taking advantage of
1068
+ # the model's fully differentiable structure. Refer to this paper for more
1069
+ # details: https://arxiv.org/abs/1703.01365
916
1070
  # Corresponds to the JSON property `integratedGradientsAttribution`
917
1071
  # @return [Google::Apis::MlV1::GoogleCloudMlV1IntegratedGradientsAttribution]
918
1072
  attr_accessor :integrated_gradients_attribution
@@ -924,10 +1078,10 @@ module Google
924
1078
  # @return [Google::Apis::MlV1::GoogleCloudMlV1SampledShapleyAttribution]
925
1079
  attr_accessor :sampled_shapley_attribution
926
1080
 
927
- # Attributes credit by computing the XRAI taking advantage
928
- # of the model's fully differentiable structure. Refer to this paper for
929
- # more details: https://arxiv.org/abs/1906.02825
930
- # Currently only implemented for models with natural image inputs.
1081
+ # Attributes credit by computing the XRAI taking advantage of the model's fully
1082
+ # differentiable structure. Refer to this paper for more details: https://arxiv.
1083
+ # org/abs/1906.02825 Currently only implemented for models with natural image
1084
+ # inputs.
931
1085
  # Corresponds to the JSON property `xraiAttribution`
932
1086
  # @return [Google::Apis::MlV1::GoogleCloudMlV1XraiAttribution]
933
1087
  attr_accessor :xrai_attribution
@@ -975,10 +1129,10 @@ module Google
975
1129
  end
976
1130
  end
977
1131
 
978
- # Represents the result of a single hyperparameter tuning trial from a
979
- # training job. The TrainingOutput object that is returned on successful
980
- # completion of a training job with hyperparameter tuning includes a list
981
- # of HyperparameterOutput objects, one for each successful trial.
1132
+ # Represents the result of a single hyperparameter tuning trial from a training
1133
+ # job. The TrainingOutput object that is returned on successful completion of a
1134
+ # training job with hyperparameter tuning includes a list of
1135
+ # HyperparameterOutput objects, one for each successful trial.
982
1136
  class GoogleCloudMlV1HyperparameterOutput
983
1137
  include Google::Apis::Core::Hashable
984
1138
 
@@ -1051,61 +1205,55 @@ module Google
1051
1205
  class GoogleCloudMlV1HyperparameterSpec
1052
1206
  include Google::Apis::Core::Hashable
1053
1207
 
1054
- # Optional. The search algorithm specified for the hyperparameter
1055
- # tuning job.
1056
- # Uses the default AI Platform hyperparameter tuning
1057
- # algorithm if unspecified.
1208
+ # Optional. The search algorithm specified for the hyperparameter tuning job.
1209
+ # Uses the default AI Platform hyperparameter tuning algorithm if unspecified.
1058
1210
  # Corresponds to the JSON property `algorithm`
1059
1211
  # @return [String]
1060
1212
  attr_accessor :algorithm
1061
1213
 
1062
- # Optional. Indicates if the hyperparameter tuning job enables auto trial
1063
- # early stopping.
1214
+ # Optional. Indicates if the hyperparameter tuning job enables auto trial early
1215
+ # stopping.
1064
1216
  # Corresponds to the JSON property `enableTrialEarlyStopping`
1065
1217
  # @return [Boolean]
1066
1218
  attr_accessor :enable_trial_early_stopping
1067
1219
  alias_method :enable_trial_early_stopping?, :enable_trial_early_stopping
1068
1220
 
1069
- # Required. The type of goal to use for tuning. Available types are
1070
- # `MAXIMIZE` and `MINIMIZE`.
1071
- # Defaults to `MAXIMIZE`.
1221
+ # Required. The type of goal to use for tuning. Available types are `MAXIMIZE`
1222
+ # and `MINIMIZE`. Defaults to `MAXIMIZE`.
1072
1223
  # Corresponds to the JSON property `goal`
1073
1224
  # @return [String]
1074
1225
  attr_accessor :goal
1075
1226
 
1076
1227
  # Optional. The TensorFlow summary tag name to use for optimizing trials. For
1077
1228
  # current versions of TensorFlow, this tag name should exactly match what is
1078
- # shown in TensorBoard, including all scopes. For versions of TensorFlow
1079
- # prior to 0.12, this should be only the tag passed to tf.Summary.
1080
- # By default, "training/hptuning/metric" will be used.
1229
+ # shown in TensorBoard, including all scopes. For versions of TensorFlow prior
1230
+ # to 0.12, this should be only the tag passed to tf.Summary. By default, "
1231
+ # training/hptuning/metric" will be used.
1081
1232
  # Corresponds to the JSON property `hyperparameterMetricTag`
1082
1233
  # @return [String]
1083
1234
  attr_accessor :hyperparameter_metric_tag
1084
1235
 
1085
- # Optional. The number of failed trials that need to be seen before failing
1086
- # the hyperparameter tuning job. You can specify this field to override the
1087
- # default failing criteria for AI Platform hyperparameter tuning jobs.
1088
- # Defaults to zero, which means the service decides when a hyperparameter
1089
- # job should fail.
1236
+ # Optional. The number of failed trials that need to be seen before failing the
1237
+ # hyperparameter tuning job. You can specify this field to override the default
1238
+ # failing criteria for AI Platform hyperparameter tuning jobs. Defaults to zero,
1239
+ # which means the service decides when a hyperparameter job should fail.
1090
1240
  # Corresponds to the JSON property `maxFailedTrials`
1091
1241
  # @return [Fixnum]
1092
1242
  attr_accessor :max_failed_trials
1093
1243
 
1094
- # Optional. The number of training trials to run concurrently.
1095
- # You can reduce the time it takes to perform hyperparameter tuning by adding
1096
- # trials in parallel. However, each trail only benefits from the information
1097
- # gained in completed trials. That means that a trial does not get access to
1098
- # the results of trials running at the same time, which could reduce the
1099
- # quality of the overall optimization.
1100
- # Each trial will use the same scale tier and machine types.
1101
- # Defaults to one.
1244
+ # Optional. The number of training trials to run concurrently. You can reduce
1245
+ # the time it takes to perform hyperparameter tuning by adding trials in
1246
+ # parallel. However, each trail only benefits from the information gained in
1247
+ # completed trials. That means that a trial does not get access to the results
1248
+ # of trials running at the same time, which could reduce the quality of the
1249
+ # overall optimization. Each trial will use the same scale tier and machine
1250
+ # types. Defaults to one.
1102
1251
  # Corresponds to the JSON property `maxParallelTrials`
1103
1252
  # @return [Fixnum]
1104
1253
  attr_accessor :max_parallel_trials
1105
1254
 
1106
- # Optional. How many training trials should be attempted to optimize
1107
- # the specified hyperparameters.
1108
- # Defaults to one.
1255
+ # Optional. How many training trials should be attempted to optimize the
1256
+ # specified hyperparameters. Defaults to one.
1109
1257
  # Corresponds to the JSON property `maxTrials`
1110
1258
  # @return [Fixnum]
1111
1259
  attr_accessor :max_trials
@@ -1115,9 +1263,9 @@ module Google
1115
1263
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1ParameterSpec>]
1116
1264
  attr_accessor :params
1117
1265
 
1118
- # Optional. The prior hyperparameter tuning job id that users hope to
1119
- # continue with. The job id will be used to find the corresponding vizier
1120
- # study guid and resume the study.
1266
+ # Optional. The prior hyperparameter tuning job id that users hope to continue
1267
+ # with. The job id will be used to find the corresponding vizier study guid and
1268
+ # resume the study.
1121
1269
  # Corresponds to the JSON property `resumePreviousJobId`
1122
1270
  # @return [String]
1123
1271
  attr_accessor :resume_previous_job_id
@@ -1140,15 +1288,15 @@ module Google
1140
1288
  end
1141
1289
  end
1142
1290
 
1143
- # Attributes credit by computing the Aumann-Shapley value taking advantage
1144
- # of the model's fully differentiable structure. Refer to this paper for
1145
- # more details: https://arxiv.org/abs/1703.01365
1291
+ # Attributes credit by computing the Aumann-Shapley value taking advantage of
1292
+ # the model's fully differentiable structure. Refer to this paper for more
1293
+ # details: https://arxiv.org/abs/1703.01365
1146
1294
  class GoogleCloudMlV1IntegratedGradientsAttribution
1147
1295
  include Google::Apis::Core::Hashable
1148
1296
 
1149
- # Number of steps for approximating the path integral.
1150
- # A good value to start is 50 and gradually increase until the
1151
- # sum to diff property is met within the desired error range.
1297
+ # Number of steps for approximating the path integral. A good value to start is
1298
+ # 50 and gradually increase until the sum to diff property is met within the
1299
+ # desired error range.
1152
1300
  # Corresponds to the JSON property `numIntegralSteps`
1153
1301
  # @return [Fixnum]
1154
1302
  attr_accessor :num_integral_steps
@@ -1182,13 +1330,13 @@ module Google
1182
1330
  # @return [String]
1183
1331
  attr_accessor :error_message
1184
1332
 
1185
- # `etag` is used for optimistic concurrency control as a way to help
1186
- # prevent simultaneous updates of a job from overwriting each other.
1187
- # It is strongly suggested that systems make use of the `etag` in the
1188
- # read-modify-write cycle to perform job updates in order to avoid race
1189
- # conditions: An `etag` is returned in the response to `GetJob`, and
1190
- # systems are expected to put that etag in the request to `UpdateJob` to
1191
- # ensure that their change will be applied to the same version of the job.
1333
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1334
+ # simultaneous updates of a job from overwriting each other. It is strongly
1335
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1336
+ # to perform job updates in order to avoid race conditions: An `etag` is
1337
+ # returned in the response to `GetJob`, and systems are expected to put that
1338
+ # etag in the request to `UpdateJob` to ensure that their change will be applied
1339
+ # to the same version of the job.
1192
1340
  # Corresponds to the JSON property `etag`
1193
1341
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1194
1342
  # @return [String]
@@ -1199,11 +1347,10 @@ module Google
1199
1347
  # @return [String]
1200
1348
  attr_accessor :job_id
1201
1349
 
1202
- # Optional. One or more labels that you can add, to organize your jobs.
1203
- # Each label is a key-value pair, where both the key and the value are
1204
- # arbitrary strings that you supply.
1205
- # For more information, see the documentation on
1206
- # <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
1350
+ # Optional. One or more labels that you can add, to organize your jobs. Each
1351
+ # label is a key-value pair, where both the key and the value are arbitrary
1352
+ # strings that you supply. For more information, see the documentation on using
1353
+ # labels.
1207
1354
  # Corresponds to the JSON property `labels`
1208
1355
  # @return [Hash<String,String>]
1209
1356
  attr_accessor :labels
@@ -1229,10 +1376,10 @@ module Google
1229
1376
  attr_accessor :state
1230
1377
 
1231
1378
  # Represents input parameters for a training job. When using the gcloud command
1232
- # to submit your training job, you can specify the input parameters as
1233
- # command-line arguments and/or in a YAML configuration file referenced from
1234
- # the --config command-line argument. For details, see the guide to [submitting
1235
- # a training job](/ai-platform/training/docs/training-jobs).
1379
+ # to submit your training job, you can specify the input parameters as command-
1380
+ # line arguments and/or in a YAML configuration file referenced from the --
1381
+ # config command-line argument. For details, see the guide to [submitting a
1382
+ # training job](/ai-platform/training/docs/training-jobs).
1236
1383
  # Corresponds to the JSON property `trainingInput`
1237
1384
  # @return [Google::Apis::MlV1::GoogleCloudMlV1TrainingInput]
1238
1385
  attr_accessor :training_input
@@ -1435,9 +1582,9 @@ module Google
1435
1582
  include Google::Apis::Core::Hashable
1436
1583
 
1437
1584
  # The number of nodes to allocate for this model. These nodes are always up,
1438
- # starting from the time the model is deployed, so the cost of operating
1439
- # this model will be proportional to `nodes` * number of hours since
1440
- # last billing cycle plus the cost for each prediction performed.
1585
+ # starting from the time the model is deployed, so the cost of operating this
1586
+ # model will be proportional to `nodes` * number of hours since last billing
1587
+ # cycle plus the cost for each prediction performed.
1441
1588
  # Corresponds to the JSON property `nodes`
1442
1589
  # @return [Fixnum]
1443
1590
  attr_accessor :nodes
@@ -1456,20 +1603,19 @@ module Google
1456
1603
  class GoogleCloudMlV1Measurement
1457
1604
  include Google::Apis::Core::Hashable
1458
1605
 
1459
- # Output only. Time that the trial has been running at the point of
1460
- # this measurement.
1606
+ # Output only. Time that the trial has been running at the point of this
1607
+ # measurement.
1461
1608
  # Corresponds to the JSON property `elapsedTime`
1462
1609
  # @return [String]
1463
1610
  attr_accessor :elapsed_time
1464
1611
 
1465
- # Provides a list of metrics that act as inputs into the objective
1466
- # function.
1612
+ # Provides a list of metrics that act as inputs into the objective function.
1467
1613
  # Corresponds to the JSON property `metrics`
1468
1614
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1MeasurementMetric>]
1469
1615
  attr_accessor :metrics
1470
1616
 
1471
- # The number of steps a machine learning model has been trained for.
1472
- # Must be non-negative.
1617
+ # The number of steps a machine learning model has been trained for. Must be non-
1618
+ # negative.
1473
1619
  # Corresponds to the JSON property `stepCount`
1474
1620
  # @return [Fixnum]
1475
1621
  attr_accessor :step_count
@@ -1486,18 +1632,43 @@ module Google
1486
1632
  end
1487
1633
  end
1488
1634
 
1489
- # Represents a machine learning solution.
1490
- # A model can have multiple versions, each of which is a deployed, trained
1491
- # model ready to receive prediction requests. The model itself is just a
1492
- # container.
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
+
1662
+ # Represents a machine learning solution. A model can have multiple versions,
1663
+ # each of which is a deployed, trained model ready to receive prediction
1664
+ # requests. The model itself is just a container.
1493
1665
  class GoogleCloudMlV1Model
1494
1666
  include Google::Apis::Core::Hashable
1495
1667
 
1496
- # Represents a version of the model.
1497
- # Each version is a trained model deployed in the cloud, ready to handle
1498
- # prediction requests. A model can have multiple versions. You can get
1499
- # information about all of the versions of a given model by calling
1500
- # projects.models.versions.list.
1668
+ # Represents a version of the model. Each version is a trained model deployed in
1669
+ # the cloud, ready to handle prediction requests. A model can have multiple
1670
+ # versions. You can get information about all of the versions of a given model
1671
+ # by calling projects.models.versions.list.
1501
1672
  # Corresponds to the JSON property `defaultVersion`
1502
1673
  # @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
1503
1674
  attr_accessor :default_version
@@ -1507,69 +1678,61 @@ module Google
1507
1678
  # @return [String]
1508
1679
  attr_accessor :description
1509
1680
 
1510
- # `etag` is used for optimistic concurrency control as a way to help
1511
- # prevent simultaneous updates of a model from overwriting each other.
1512
- # It is strongly suggested that systems make use of the `etag` in the
1513
- # read-modify-write cycle to perform model updates in order to avoid race
1514
- # conditions: An `etag` is returned in the response to `GetModel`, and
1515
- # systems are expected to put that etag in the request to `UpdateModel` to
1516
- # ensure that their change will be applied to the model as intended.
1681
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1682
+ # simultaneous updates of a model from overwriting each other. It is strongly
1683
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1684
+ # to perform model updates in order to avoid race conditions: An `etag` is
1685
+ # returned in the response to `GetModel`, and systems are expected to put that
1686
+ # etag in the request to `UpdateModel` to ensure that their change will be
1687
+ # applied to the model as intended.
1517
1688
  # Corresponds to the JSON property `etag`
1518
1689
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1519
1690
  # @return [String]
1520
1691
  attr_accessor :etag
1521
1692
 
1522
- # Optional. One or more labels that you can add, to organize your models.
1523
- # Each label is a key-value pair, where both the key and the value are
1524
- # arbitrary strings that you supply.
1525
- # For more information, see the documentation on
1526
- # <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
1693
+ # Optional. One or more labels that you can add, to organize your models. Each
1694
+ # label is a key-value pair, where both the key and the value are arbitrary
1695
+ # strings that you supply. For more information, see the documentation on using
1696
+ # labels.
1527
1697
  # Corresponds to the JSON property `labels`
1528
1698
  # @return [Hash<String,String>]
1529
1699
  attr_accessor :labels
1530
1700
 
1531
- # Required. The name specified for the model when it was created.
1532
- # The model name must be unique within the project it is created in.
1701
+ # Required. The name specified for the model when it was created. The model name
1702
+ # must be unique within the project it is created in.
1533
1703
  # Corresponds to the JSON property `name`
1534
1704
  # @return [String]
1535
1705
  attr_accessor :name
1536
1706
 
1537
- # Optional. If true, online prediction nodes send `stderr` and `stdout`
1538
- # streams to Stackdriver Logging. These can be more verbose than the standard
1539
- # access logs (see `onlinePredictionLogging`) and can incur higher cost.
1540
- # However, they are helpful for debugging. Note that
1541
- # [Stackdriver logs may incur a cost](/stackdriver/pricing), especially if
1542
- # your project receives prediction requests at a high QPS. Estimate your
1543
- # costs before enabling this option.
1544
- # Default is false.
1707
+ # Optional. If true, online prediction nodes send `stderr` and `stdout` streams
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.
1545
1713
  # Corresponds to the JSON property `onlinePredictionConsoleLogging`
1546
1714
  # @return [Boolean]
1547
1715
  attr_accessor :online_prediction_console_logging
1548
1716
  alias_method :online_prediction_console_logging?, :online_prediction_console_logging
1549
1717
 
1550
- # Optional. If true, online prediction access logs are sent to StackDriver
1551
- # Logging. These logs are like standard server access logs, containing
1552
- # information like timestamp and latency for each request. Note that
1553
- # [Stackdriver logs may incur a cost](/stackdriver/pricing), especially if
1554
- # your project receives prediction requests at a high queries per second rate
1555
- # (QPS). Estimate your costs before enabling this option.
1556
- # 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.
1557
1724
  # Corresponds to the JSON property `onlinePredictionLogging`
1558
1725
  # @return [Boolean]
1559
1726
  attr_accessor :online_prediction_logging
1560
1727
  alias_method :online_prediction_logging?, :online_prediction_logging
1561
1728
 
1562
- # Optional. The list of regions where the model is going to be deployed.
1563
- # Only one region per model is supported.
1564
- # Defaults to 'us-central1' if nothing is set.
1565
- # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
1566
- # for AI Platform services.
1567
- # Note:
1568
- # * No matter where a model is deployed, it can always be accessed by
1569
- # users from anywhere, both for online and batch prediction.
1570
- # * The region for a batch prediction job is set by the region field when
1571
- # submitting the batch prediction job and does not take its value from
1572
- # this field.
1729
+ # Optional. The list of regions where the model is going to be deployed. Only
1730
+ # one region per model is supported. Defaults to 'us-central1' if nothing is set.
1731
+ # See the available regions for AI Platform services. Note: * No matter where a
1732
+ # model is deployed, it can always be accessed by users from anywhere, both for
1733
+ # online and batch prediction. * The region for a batch prediction job is set by
1734
+ # the region field when submitting the batch prediction job and does not take
1735
+ # its value from this field.
1573
1736
  # Corresponds to the JSON property `regions`
1574
1737
  # @return [Array<String>]
1575
1738
  attr_accessor :regions
@@ -1611,8 +1774,8 @@ module Google
1611
1774
  attr_accessor :is_cancellation_requested
1612
1775
  alias_method :is_cancellation_requested?, :is_cancellation_requested
1613
1776
 
1614
- # The user labels, inherited from the model or the model version being
1615
- # operated on.
1777
+ # The user labels, inherited from the model or the model version being operated
1778
+ # on.
1616
1779
  # Corresponds to the JSON property `labels`
1617
1780
  # @return [Hash<String,String>]
1618
1781
  attr_accessor :labels
@@ -1637,11 +1800,10 @@ module Google
1637
1800
  # @return [String]
1638
1801
  attr_accessor :start_time
1639
1802
 
1640
- # Represents a version of the model.
1641
- # Each version is a trained model deployed in the cloud, ready to handle
1642
- # prediction requests. A model can have multiple versions. You can get
1643
- # information about all of the versions of a given model by calling
1644
- # projects.models.versions.list.
1803
+ # Represents a version of the model. Each version is a trained model deployed in
1804
+ # the cloud, ready to handle prediction requests. A model can have multiple
1805
+ # versions. You can get information about all of the versions of a given model
1806
+ # by calling projects.models.versions.list.
1645
1807
  # Corresponds to the JSON property `version`
1646
1808
  # @return [Google::Apis::MlV1::GoogleCloudMlV1Version]
1647
1809
  attr_accessor :version
@@ -1673,39 +1835,35 @@ module Google
1673
1835
  # @return [Array<String>]
1674
1836
  attr_accessor :categorical_values
1675
1837
 
1676
- # Required if type is `DISCRETE`.
1677
- # A list of feasible points.
1678
- # The list should be in strictly increasing order. For instance, this
1679
- # parameter might have possible settings of 1.5, 2.5, and 4.0. This list
1680
- # should not contain more than 1,000 values.
1838
+ # Required if type is `DISCRETE`. A list of feasible points. The list should be
1839
+ # in strictly increasing order. For instance, this parameter might have possible
1840
+ # settings of 1.5, 2.5, and 4.0. This list should not contain more than 1,000
1841
+ # values.
1681
1842
  # Corresponds to the JSON property `discreteValues`
1682
1843
  # @return [Array<Float>]
1683
1844
  attr_accessor :discrete_values
1684
1845
 
1685
- # Required if type is `DOUBLE` or `INTEGER`. This field
1686
- # should be unset if type is `CATEGORICAL`. This value should be integers if
1687
- # type is `INTEGER`.
1846
+ # Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type
1847
+ # is `CATEGORICAL`. This value should be integers if type is `INTEGER`.
1688
1848
  # Corresponds to the JSON property `maxValue`
1689
1849
  # @return [Float]
1690
1850
  attr_accessor :max_value
1691
1851
 
1692
- # Required if type is `DOUBLE` or `INTEGER`. This field
1693
- # should be unset if type is `CATEGORICAL`. This value should be integers if
1694
- # type is INTEGER.
1852
+ # Required if type is `DOUBLE` or `INTEGER`. This field should be unset if type
1853
+ # is `CATEGORICAL`. This value should be integers if type is INTEGER.
1695
1854
  # Corresponds to the JSON property `minValue`
1696
1855
  # @return [Float]
1697
1856
  attr_accessor :min_value
1698
1857
 
1699
- # Required. The parameter name must be unique amongst all ParameterConfigs in
1700
- # a HyperparameterSpec message. E.g., "learning_rate".
1858
+ # Required. The parameter name must be unique amongst all ParameterConfigs in a
1859
+ # HyperparameterSpec message. E.g., "learning_rate".
1701
1860
  # Corresponds to the JSON property `parameterName`
1702
1861
  # @return [String]
1703
1862
  attr_accessor :parameter_name
1704
1863
 
1705
- # Optional. How the parameter should be scaled to the hypercube.
1706
- # Leave unset for categorical parameters.
1707
- # Some kind of scaling is strongly recommended for real or integral
1708
- # parameters (e.g., `UNIT_LINEAR_SCALE`).
1864
+ # Optional. How the parameter should be scaled to the hypercube. Leave unset for
1865
+ # categorical parameters. Some kind of scaling is strongly recommended for real
1866
+ # or integral parameters (e.g., `UNIT_LINEAR_SCALE`).
1709
1867
  # Corresponds to the JSON property `scaleType`
1710
1868
  # @return [String]
1711
1869
  attr_accessor :scale_type
@@ -1736,34 +1894,21 @@ module Google
1736
1894
  include Google::Apis::Core::Hashable
1737
1895
 
1738
1896
  # Message that represents an arbitrary HTTP body. It should only be used for
1739
- # payload formats that can't be represented as JSON, such as raw binary or
1740
- # an HTML page.
1741
- # This message can be used both in streaming and non-streaming API methods in
1742
- # the request as well as the response.
1743
- # It can be used as a top-level request field, which is convenient if one
1744
- # wants to extract parameters from either the URL or HTTP template into the
1745
- # request fields and also want access to the raw HTTP body.
1746
- # Example:
1747
- # message GetResourceRequest `
1748
- # // A unique request id.
1749
- # string request_id = 1;
1750
- # // The raw HTTP body is bound to this field.
1751
- # google.api.HttpBody http_body = 2;
1752
- # `
1753
- # service ResourceService `
1754
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
1755
- # rpc UpdateResource(google.api.HttpBody) returns
1756
- # (google.protobuf.Empty);
1757
- # `
1758
- # Example with streaming methods:
1759
- # service CaldavService `
1760
- # rpc GetCalendar(stream google.api.HttpBody)
1761
- # returns (stream google.api.HttpBody);
1762
- # rpc UpdateCalendar(stream google.api.HttpBody)
1763
- # returns (stream google.api.HttpBody);
1764
- # `
1765
- # Use of this type only changes how the request and response bodies are
1766
- # handled, all other features will continue to work unchanged.
1897
+ # payload formats that can't be represented as JSON, such as raw binary or an
1898
+ # HTML page. This message can be used both in streaming and non-streaming API
1899
+ # methods in the request as well as the response. It can be used as a top-level
1900
+ # request field, which is convenient if one wants to extract parameters from
1901
+ # either the URL or HTTP template into the request fields and also want access
1902
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
1903
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
1904
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
1905
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
1906
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
1907
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
1908
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
1909
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
1910
+ # only changes how the request and response bodies are handled, all other
1911
+ # features will continue to work unchanged.
1767
1912
  # Corresponds to the JSON property `httpBody`
1768
1913
  # @return [Google::Apis::MlV1::GoogleApiHttpBody]
1769
1914
  attr_accessor :http_body
@@ -1782,10 +1927,10 @@ module Google
1782
1927
  class GoogleCloudMlV1PredictionInput
1783
1928
  include Google::Apis::Core::Hashable
1784
1929
 
1785
- # Optional. Number of records per batch, defaults to 64.
1786
- # The service will buffer batch_size number of records in memory before
1787
- # invoking one Tensorflow prediction call internally. So take the record
1788
- # size and memory available into consideration when setting this parameter.
1930
+ # Optional. Number of records per batch, defaults to 64. The service will buffer
1931
+ # batch_size number of records in memory before invoking one Tensorflow
1932
+ # prediction call internally. So take the record size and memory available into
1933
+ # consideration when setting this parameter.
1789
1934
  # Corresponds to the JSON property `batchSize`
1790
1935
  # @return [Fixnum]
1791
1936
  attr_accessor :batch_size
@@ -1796,7 +1941,7 @@ module Google
1796
1941
  attr_accessor :data_format
1797
1942
 
1798
1943
  # Required. The Cloud Storage location of the input data files. May contain
1799
- # <a href="/storage/docs/gsutil/addlhelp/WildcardNames">wildcards</a>.
1944
+ # wildcards.
1800
1945
  # Corresponds to the JSON property `inputPaths`
1801
1946
  # @return [Array<String>]
1802
1947
  attr_accessor :input_paths
@@ -1807,9 +1952,9 @@ module Google
1807
1952
  # @return [Fixnum]
1808
1953
  attr_accessor :max_worker_count
1809
1954
 
1810
- # Use this field if you want to use the default version for the specified
1811
- # model. The string must use the following format:
1812
- # `"projects/YOUR_PROJECT/models/YOUR_MODEL"`
1955
+ # Use this field if you want to use the default version for the specified model.
1956
+ # The string must use the following format: `"projects/YOUR_PROJECT/models/
1957
+ # YOUR_MODEL"`
1813
1958
  # Corresponds to the JSON property `modelName`
1814
1959
  # @return [String]
1815
1960
  attr_accessor :model_name
@@ -1824,44 +1969,40 @@ module Google
1824
1969
  # @return [String]
1825
1970
  attr_accessor :output_path
1826
1971
 
1827
- # Required. The Google Compute Engine region to run the prediction job in.
1828
- # See the <a href="/ml-engine/docs/tensorflow/regions">available regions</a>
1829
- # for AI Platform services.
1972
+ # Required. The Google Compute Engine region to run the prediction job in. See
1973
+ # the available regions for AI Platform services.
1830
1974
  # Corresponds to the JSON property `region`
1831
1975
  # @return [String]
1832
1976
  attr_accessor :region
1833
1977
 
1834
- # Optional. The AI Platform runtime version to use for this batch
1835
- # prediction. If not set, AI Platform will pick the runtime version used
1836
- # during the CreateVersion request for this model version, or choose the
1837
- # latest stable version when model version information is not available
1838
- # such as when the model is specified by uri.
1978
+ # Optional. The AI Platform runtime version to use for this batch prediction. If
1979
+ # not set, AI Platform will pick the runtime version used during the
1980
+ # CreateVersion request for this model version, or choose the latest stable
1981
+ # version when model version information is not available such as when the model
1982
+ # is specified by uri.
1839
1983
  # Corresponds to the JSON property `runtimeVersion`
1840
1984
  # @return [String]
1841
1985
  attr_accessor :runtime_version
1842
1986
 
1843
- # Optional. The name of the signature defined in the SavedModel to use for
1844
- # this job. Please refer to
1845
- # [SavedModel](https://tensorflow.github.io/serving/serving_basic.html)
1846
- # for information about how to use signatures.
1847
- # Defaults to
1848
- # [DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/
1849
- # tf/saved_model/signature_constants)
1850
- # , which is "serving_default".
1987
+ # Optional. The name of the signature defined in the SavedModel to use for this
1988
+ # job. Please refer to [SavedModel](https://tensorflow.github.io/serving/
1989
+ # serving_basic.html) for information about how to use signatures. Defaults to [
1990
+ # DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/
1991
+ # tf/saved_model/signature_constants) , which is "serving_default".
1851
1992
  # Corresponds to the JSON property `signatureName`
1852
1993
  # @return [String]
1853
1994
  attr_accessor :signature_name
1854
1995
 
1855
- # Use this field if you want to specify a Google Cloud Storage path for
1856
- # the model to use.
1996
+ # Use this field if you want to specify a Google Cloud Storage path for the
1997
+ # model to use.
1857
1998
  # Corresponds to the JSON property `uri`
1858
1999
  # @return [String]
1859
2000
  attr_accessor :uri
1860
2001
 
1861
2002
  # Use this field if you want to specify a version of the model to use. The
1862
- # string is formatted the same way as `model_version`, with the addition
1863
- # of the version information:
1864
- # `"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/YOUR_VERSION"`
2003
+ # string is formatted the same way as `model_version`, with the addition of the
2004
+ # version information: `"projects/YOUR_PROJECT/models/YOUR_MODEL/versions/
2005
+ # YOUR_VERSION"`
1865
2006
  # Corresponds to the JSON property `versionName`
1866
2007
  # @return [String]
1867
2008
  attr_accessor :version_name
@@ -1928,68 +2069,56 @@ module Google
1928
2069
  class GoogleCloudMlV1ReplicaConfig
1929
2070
  include Google::Apis::Core::Hashable
1930
2071
 
1931
- # Represents a hardware accelerator request config.
1932
- # Note that the AcceleratorConfig can be used in both Jobs and Versions.
1933
- # Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
1934
- # [accelerators for online
1935
- # prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
2072
+ # Represents a hardware accelerator request config. Note that the
2073
+ # AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
2074
+ # accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
2075
+ # online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
1936
2076
  # Corresponds to the JSON property `acceleratorConfig`
1937
2077
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
1938
2078
  attr_accessor :accelerator_config
1939
2079
 
1940
- # Arguments to the entrypoint command.
1941
- # The following rules apply for container_command and container_args:
1942
- # - If you do not supply command or args:
1943
- # The defaults defined in the Docker image are used.
1944
- # - If you supply a command but no args:
1945
- # The default EntryPoint and the default Cmd defined in the Docker image
1946
- # are ignored. Your command is run without any arguments.
1947
- # - If you supply only args:
1948
- # The default Entrypoint defined in the Docker image is run with the args
1949
- # that you supplied.
1950
- # - If you supply a command and args:
1951
- # The default Entrypoint and the default Cmd defined in the Docker image
1952
- # are ignored. Your command is run with your args.
1953
- # It cannot be set if custom container image is
1954
- # not provided.
1955
- # Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
1956
- # both cannot be set at the same time.
2080
+ # Arguments to the entrypoint command. The following rules apply for
2081
+ # container_command and container_args: - If you do not supply command or args:
2082
+ # The defaults defined in the Docker image are used. - If you supply a command
2083
+ # but no args: The default EntryPoint and the default Cmd defined in the Docker
2084
+ # image are ignored. Your command is run without any arguments. - If you supply
2085
+ # only args: The default Entrypoint defined in the Docker image is run with the
2086
+ # args that you supplied. - If you supply a command and args: The default
2087
+ # Entrypoint and the default Cmd defined in the Docker image are ignored. Your
2088
+ # command is run with your args. It cannot be set if custom container image is
2089
+ # not provided. Note that this field and [TrainingInput.args] are mutually
2090
+ # exclusive, i.e., both cannot be set at the same time.
1957
2091
  # Corresponds to the JSON property `containerArgs`
1958
2092
  # @return [Array<String>]
1959
2093
  attr_accessor :container_args
1960
2094
 
1961
- # The command with which the replica's custom container is run.
1962
- # If provided, it will override default ENTRYPOINT of the docker image.
1963
- # If not provided, the docker image's ENTRYPOINT is used.
1964
- # It cannot be set if custom container image is
1965
- # not provided.
1966
- # Note that this field and [TrainingInput.args] are mutually exclusive, i.e.,
1967
- # both cannot be set at the same time.
2095
+ # The command with which the replica's custom container is run. If provided, it
2096
+ # will override default ENTRYPOINT of the docker image. If not provided, the
2097
+ # docker image's ENTRYPOINT is used. It cannot be set if custom container image
2098
+ # is not provided. Note that this field and [TrainingInput.args] are mutually
2099
+ # exclusive, i.e., both cannot be set at the same time.
1968
2100
  # Corresponds to the JSON property `containerCommand`
1969
2101
  # @return [Array<String>]
1970
2102
  attr_accessor :container_command
1971
2103
 
1972
2104
  # The Docker image to run on the replica. This image must be in Container
1973
- # Registry. Learn more about [configuring custom
1974
- # containers](/ai-platform/training/docs/distributed-training-containers).
2105
+ # Registry. Learn more about [configuring custom containers](/ai-platform/
2106
+ # training/docs/distributed-training-containers).
1975
2107
  # Corresponds to the JSON property `imageUri`
1976
2108
  # @return [String]
1977
2109
  attr_accessor :image_uri
1978
2110
 
1979
2111
  # The AI Platform runtime version that includes a TensorFlow version matching
1980
- # the one used in the custom container. This field is required if the replica
1981
- # is a TPU worker that uses a custom container. Otherwise, do not specify
1982
- # this field. This must be a [runtime version that currently supports
1983
- # training with
1984
- # TPUs](/ml-engine/docs/tensorflow/runtime-version-list#tpu-support).
1985
- # Note that the version of TensorFlow included in a runtime version may
1986
- # differ from the numbering of the runtime version itself, because it may
1987
- # have a different [patch
1988
- # version](https://www.tensorflow.org/guide/version_compat#
1989
- # semantic_versioning_20).
1990
- # In this field, you must specify the runtime version (TensorFlow minor
1991
- # version). For example, if your custom container runs TensorFlow `1.x.y`,
1992
- # specify `1.x`.
2112
+ # the one used in the custom container. This field is required if the replica is
2113
+ # a TPU worker that uses a custom container. Otherwise, do not specify this
2114
+ # field. This must be a [runtime version that currently supports training with
2115
+ # TPUs](/ml-engine/docs/tensorflow/runtime-version-list#tpu-support). Note that
2116
+ # the version of TensorFlow included in a runtime version may differ from the
2117
+ # numbering of the runtime version itself, because it may have a different [
2118
+ # patch version](https://www.tensorflow.org/guide/version_compat#
2119
+ # semantic_versioning_20). In this field, you must specify the runtime version (
2120
+ # TensorFlow minor version). For example, if your custom container runs
2121
+ # TensorFlow `1.x.y`, specify `1.x`.
1993
2122
  # Corresponds to the JSON property `tpuTfVersion`
1994
2123
  # @return [String]
1995
2124
  attr_accessor :tpu_tf_version
@@ -2008,42 +2137,32 @@ module Google
2008
2137
  end
2009
2138
  end
2010
2139
 
2011
- # Configuration for logging request-response pairs to a BigQuery table.
2012
- # Online prediction requests to a model version and the responses to these
2013
- # requests are converted to raw strings and saved to the specified BigQuery
2014
- # table. Logging is constrained by [BigQuery quotas and
2015
- # limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits,
2016
- # AI Platform Prediction does not log request-response pairs, but it continues
2017
- # to serve predictions.
2018
- # If you are using [continuous
2019
- # evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
2020
- # specify this configuration manually. Setting up continuous evaluation
2140
+ # Configuration for logging request-response pairs to a BigQuery table. Online
2141
+ # prediction requests to a model version and the responses to these requests are
2142
+ # converted to raw strings and saved to the specified BigQuery table. Logging is
2143
+ # constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project
2144
+ # exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-
2145
+ # response pairs, but it continues to serve predictions. If you are using [
2146
+ # continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not
2147
+ # need to specify this configuration manually. Setting up continuous evaluation
2021
2148
  # automatically enables logging of request-response pairs.
2022
2149
  class GoogleCloudMlV1RequestLoggingConfig
2023
2150
  include Google::Apis::Core::Hashable
2024
2151
 
2025
- # Required. Fully qualified BigQuery table name in the following format:
2026
- # "<var>project_id</var>.<var>dataset_name</var>.<var>table_name</var>"
2027
- # The specified table must already exist, and the "Cloud ML Service Agent"
2028
- # for your project must have permission to write to it. The table must have
2029
- # the following [schema](/bigquery/docs/schemas):
2030
- # <table>
2031
- # <tr><th>Field name</th><th style="display: table-cell">Type</th>
2032
- # <th style="display: table-cell">Mode</th></tr>
2033
- # <tr><td>model</td><td>STRING</td><td>REQUIRED</td></tr>
2034
- # <tr><td>model_version</td><td>STRING</td><td>REQUIRED</td></tr>
2035
- # <tr><td>time</td><td>TIMESTAMP</td><td>REQUIRED</td></tr>
2036
- # <tr><td>raw_data</td><td>STRING</td><td>REQUIRED</td></tr>
2037
- # <tr><td>raw_prediction</td><td>STRING</td><td>NULLABLE</td></tr>
2038
- # <tr><td>groundtruth</td><td>STRING</td><td>NULLABLE</td></tr>
2039
- # </table>
2152
+ # Required. Fully qualified BigQuery table name in the following format: "
2153
+ # project_id.dataset_name.table_name" The specified table must already exist,
2154
+ # and the "Cloud ML Service Agent" for your project must have permission to
2155
+ # write to it. The table must have the following [schema](/bigquery/docs/schemas)
2156
+ # : Field nameType Mode model STRING REQUIRED model_version STRING REQUIRED time
2157
+ # TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE
2158
+ # groundtruth STRING NULLABLE
2040
2159
  # Corresponds to the JSON property `bigqueryTableName`
2041
2160
  # @return [String]
2042
2161
  attr_accessor :bigquery_table_name
2043
2162
 
2044
- # Percentage of requests to be logged, expressed as a fraction from 0 to 1.
2045
- # For example, if you want to log 10% of requests, enter `0.1`. The sampling
2046
- # window is the lifetime of the model version. Defaults to 0.
2163
+ # Percentage of requests to be logged, expressed as a fraction from 0 to 1. For
2164
+ # example, if you want to log 10% of requests, enter `0.1`. The sampling window
2165
+ # is the lifetime of the model version. Defaults to 0.
2047
2166
  # Corresponds to the JSON property `samplingPercentage`
2048
2167
  # @return [Float]
2049
2168
  attr_accessor :sampling_percentage
@@ -2059,14 +2178,72 @@ module Google
2059
2178
  end
2060
2179
  end
2061
2180
 
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.
2187
+ class GoogleCloudMlV1RouteMap
2188
+ include Google::Apis::Core::Hashable
2189
+
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.
2205
+ # Corresponds to the JSON property `health`
2206
+ # @return [String]
2207
+ attr_accessor :health
2208
+
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.
2224
+ # Corresponds to the JSON property `predict`
2225
+ # @return [String]
2226
+ attr_accessor :predict
2227
+
2228
+ def initialize(**args)
2229
+ update!(**args)
2230
+ end
2231
+
2232
+ # Update properties of this object
2233
+ def update!(**args)
2234
+ @health = args[:health] if args.key?(:health)
2235
+ @predict = args[:predict] if args.key?(:predict)
2236
+ end
2237
+ end
2238
+
2062
2239
  # An attribution method that approximates Shapley values for features that
2063
2240
  # contribute to the label being predicted. A sampling strategy is used to
2064
2241
  # approximate the value rather than considering all subsets of features.
2065
2242
  class GoogleCloudMlV1SampledShapleyAttribution
2066
2243
  include Google::Apis::Core::Hashable
2067
2244
 
2068
- # The number of feature permutations to consider when approximating the
2069
- # Shapley values.
2245
+ # The number of feature permutations to consider when approximating the Shapley
2246
+ # values.
2070
2247
  # Corresponds to the JSON property `numPaths`
2071
2248
  # @return [Fixnum]
2072
2249
  attr_accessor :num_paths
@@ -2087,29 +2264,40 @@ module Google
2087
2264
 
2088
2265
  # Optional. The maximum job running time, expressed in seconds. The field can
2089
2266
  # contain up to nine fractional digits, terminated by `s`. If not specified,
2090
- # this field defaults to `604800s` (seven days).
2091
- # If the training job is still running after this duration, AI Platform
2092
- # Training cancels it.
2093
- # For example, if you want to ensure your job runs for no more than 2 hours,
2094
- # set this field to `7200s` (2 hours * 60 minutes / hour * 60 seconds /
2095
- # minute).
2096
- # If you submit your training job using the `gcloud` tool, you can [provide
2097
- # this field in a `config.yaml`
2098
- # file](/ai-platform/training/docs/training-jobs#
2099
- # formatting_your_configuration_parameters).
2100
- # For example:
2101
- # ```yaml
2102
- # trainingInput:
2103
- # ...
2104
- # scheduling:
2105
- # maxRunningTime: 7200s
2106
- # ...
2107
- # ```
2267
+ # this field defaults to `604800s` (seven days). If the training job is still
2268
+ # running after this duration, AI Platform Training cancels it. The duration is
2269
+ # measured from when the job enters the `RUNNING` state; therefore it does not
2270
+ # overlap with the duration limited by Scheduling.max_wait_time. For example, if
2271
+ # you want to ensure your job runs for no more than 2 hours, set this field to `
2272
+ # 7200s` (2 hours * 60 minutes / hour * 60 seconds / minute). If you submit your
2273
+ # training job using the `gcloud` tool, you can [specify this field in a `config.
2274
+ # yaml` file](/ai-platform/training/docs/training-jobs#
2275
+ # formatting_your_configuration_parameters). For example: ```yaml trainingInput:
2276
+ # scheduling: maxRunningTime: 7200s ```
2108
2277
  # Corresponds to the JSON property `maxRunningTime`
2109
2278
  # @return [String]
2110
2279
  attr_accessor :max_running_time
2111
2280
 
2112
- #
2281
+ # Optional. The maximum job wait time, expressed in seconds. The field can
2282
+ # contain up to nine fractional digits, terminated by `s`. If not specified,
2283
+ # there is no limit to the wait time. The minimum for this field is `1800s` (30
2284
+ # minutes). If the training job has not entered the `RUNNING` state after this
2285
+ # duration, AI Platform Training cancels it. After the job begins running, it
2286
+ # can no longer be cancelled due to the maximum wait time. Therefore the
2287
+ # duration limited by this field does not overlap with the duration limited by
2288
+ # Scheduling.max_running_time. For example, if the job temporarily stops running
2289
+ # and retries due to a [VM restart](/ai-platform/training/docs/overview#restarts)
2290
+ # , this cannot lead to a maximum wait time cancellation. However, independently
2291
+ # of this constraint, AI Platform Training might stop a job if there are too
2292
+ # many retries due to exhausted resources in a region. The following example
2293
+ # describes how you might use this field: To cancel your job if it doesn't start
2294
+ # running within 1 hour, set this field to `3600s` (1 hour * 60 minutes / hour *
2295
+ # 60 seconds / minute). If the job is still in the `QUEUED` or `PREPARING` state
2296
+ # after an hour of waiting, AI Platform Training cancels the job. If you submit
2297
+ # your training job using the `gcloud` tool, you can [specify this field in a `
2298
+ # config.yaml` file](/ai-platform/training/docs/training-jobs#
2299
+ # formatting_your_configuration_parameters). For example: ```yaml trainingInput:
2300
+ # scheduling: maxWaitTime: 3600s ```
2113
2301
  # Corresponds to the JSON property `maxWaitTime`
2114
2302
  # @return [String]
2115
2303
  attr_accessor :max_wait_time
@@ -2160,8 +2348,8 @@ module Google
2160
2348
  # @return [String]
2161
2349
  attr_accessor :create_time
2162
2350
 
2163
- # Output only. A human readable reason why the Study is inactive.
2164
- # This should be empty if a study is ACTIVE or COMPLETED.
2351
+ # Output only. A human readable reason why the Study is inactive. This should be
2352
+ # empty if a study is ACTIVE or COMPLETED.
2165
2353
  # Corresponds to the JSON property `inactiveReason`
2166
2354
  # @return [String]
2167
2355
  attr_accessor :inactive_reason
@@ -2233,8 +2421,8 @@ module Google
2233
2421
  end
2234
2422
  end
2235
2423
 
2236
- # Metadata field of a google.longrunning.Operation associated
2237
- # with a SuggestTrialsRequest.
2424
+ # Metadata field of a google.longrunning.Operation associated with a
2425
+ # SuggestTrialsRequest.
2238
2426
  class GoogleCloudMlV1SuggestTrialsMetadata
2239
2427
  include Google::Apis::Core::Hashable
2240
2428
 
@@ -2275,10 +2463,10 @@ module Google
2275
2463
  class GoogleCloudMlV1SuggestTrialsRequest
2276
2464
  include Google::Apis::Core::Hashable
2277
2465
 
2278
- # Required. The identifier of the client that is requesting the suggestion.
2279
- # If multiple SuggestTrialsRequests have the same `client_id`,
2280
- # the service will return the identical suggested trial if the trial is
2281
- # pending, and provide a new trial if the last suggested trial was completed.
2466
+ # Required. The identifier of the client that is requesting the suggestion. If
2467
+ # multiple SuggestTrialsRequests have the same `client_id`, the service will
2468
+ # return the identical suggested trial if the trial is pending, and provide a
2469
+ # new trial if the last suggested trial was completed.
2282
2470
  # Corresponds to the JSON property `clientId`
2283
2471
  # @return [String]
2284
2472
  attr_accessor :client_id
@@ -2299,8 +2487,8 @@ module Google
2299
2487
  end
2300
2488
  end
2301
2489
 
2302
- # This message will be placed in the response field of a completed
2303
- # google.longrunning.Operation associated with a SuggestTrials request.
2490
+ # This message will be placed in the response field of a completed google.
2491
+ # longrunning.Operation associated with a SuggestTrials request.
2304
2492
  class GoogleCloudMlV1SuggestTrialsResponse
2305
2493
  include Google::Apis::Core::Hashable
2306
2494
 
@@ -2338,24 +2526,22 @@ module Google
2338
2526
  end
2339
2527
 
2340
2528
  # Represents input parameters for a training job. When using the gcloud command
2341
- # to submit your training job, you can specify the input parameters as
2342
- # command-line arguments and/or in a YAML configuration file referenced from
2343
- # the --config command-line argument. For details, see the guide to [submitting
2344
- # a training job](/ai-platform/training/docs/training-jobs).
2529
+ # to submit your training job, you can specify the input parameters as command-
2530
+ # line arguments and/or in a YAML configuration file referenced from the --
2531
+ # config command-line argument. For details, see the guide to [submitting a
2532
+ # training job](/ai-platform/training/docs/training-jobs).
2345
2533
  class GoogleCloudMlV1TrainingInput
2346
2534
  include Google::Apis::Core::Hashable
2347
2535
 
2348
2536
  # Optional. Command-line arguments passed to the training application when it
2349
- # starts. If your job uses a custom container, then the arguments are passed
2350
- # to the container's <a class="external" target="_blank"
2351
- # href="https://docs.docker.com/engine/reference/builder/#entrypoint">
2352
- # `ENTRYPOINT`</a> command.
2537
+ # starts. If your job uses a custom container, then the arguments are passed to
2538
+ # the container's `ENTRYPOINT` command.
2353
2539
  # Corresponds to the JSON property `args`
2354
2540
  # @return [Array<String>]
2355
2541
  attr_accessor :args
2356
2542
 
2357
- # Represents a custom encryption key configuration that can be applied to
2358
- # a resource.
2543
+ # Represents a custom encryption key configuration that can be applied to a
2544
+ # resource.
2359
2545
  # Corresponds to the JSON property `encryptionConfig`
2360
2546
  # @return [Google::Apis::MlV1::GoogleCloudMlV1EncryptionConfig]
2361
2547
  attr_accessor :encryption_config
@@ -2365,25 +2551,21 @@ module Google
2365
2551
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
2366
2552
  attr_accessor :evaluator_config
2367
2553
 
2368
- # Optional. The number of evaluator replicas to use for the training job.
2369
- # Each replica in the cluster will be of the type specified in
2370
- # `evaluator_type`.
2371
- # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
2372
- # set this value, you must also set `evaluator_type`.
2373
- # The default value is zero.
2554
+ # Optional. The number of evaluator replicas to use for the training job. Each
2555
+ # replica in the cluster will be of the type specified in `evaluator_type`. This
2556
+ # value can only be used when `scale_tier` is set to `CUSTOM`. If you set this
2557
+ # value, you must also set `evaluator_type`. The default value is zero.
2374
2558
  # Corresponds to the JSON property `evaluatorCount`
2375
2559
  # @return [Fixnum]
2376
2560
  attr_accessor :evaluator_count
2377
2561
 
2378
- # Optional. Specifies the type of virtual machine to use for your training
2379
- # job's evaluator nodes.
2380
- # The supported values are the same as those described in the entry for
2381
- # `masterType`.
2382
- # This value must be consistent with the category of machine type that
2383
- # `masterType` uses. In other words, both must be Compute Engine machine
2384
- # types or both must be legacy machine types.
2385
- # This value must be present when `scaleTier` is set to `CUSTOM` and
2386
- # `evaluatorCount` is greater than zero.
2562
+ # Optional. Specifies the type of virtual machine to use for your training job's
2563
+ # evaluator nodes. The supported values are the same as those described in the
2564
+ # entry for `masterType`. This value must be consistent with the category of
2565
+ # machine type that `masterType` uses. In other words, both must be Compute
2566
+ # Engine machine types or both must be legacy machine types. This value must be
2567
+ # present when `scaleTier` is set to `CUSTOM` and `evaluatorCount` is greater
2568
+ # than zero.
2387
2569
  # Corresponds to the JSON property `evaluatorType`
2388
2570
  # @return [String]
2389
2571
  attr_accessor :evaluator_type
@@ -2393,10 +2575,10 @@ module Google
2393
2575
  # @return [Google::Apis::MlV1::GoogleCloudMlV1HyperparameterSpec]
2394
2576
  attr_accessor :hyperparameters
2395
2577
 
2396
- # Optional. A Google Cloud Storage path in which to store training outputs
2397
- # and other data needed for training. This path is passed to your TensorFlow
2398
- # program as the '--job-dir' command-line argument. The benefit of specifying
2399
- # this field is that Cloud ML validates the path for use in training.
2578
+ # Optional. A Google Cloud Storage path in which to store training outputs and
2579
+ # other data needed for training. This path is passed to your TensorFlow program
2580
+ # as the '--job-dir' command-line argument. The benefit of specifying this field
2581
+ # is that Cloud ML validates the path for use in training.
2400
2582
  # Corresponds to the JSON property `jobDir`
2401
2583
  # @return [String]
2402
2584
  attr_accessor :job_dir
@@ -2406,71 +2588,42 @@ module Google
2406
2588
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
2407
2589
  attr_accessor :master_config
2408
2590
 
2409
- # Optional. Specifies the type of virtual machine to use for your training
2410
- # job's master worker. You must specify this field when `scaleTier` is set to
2411
- # `CUSTOM`.
2412
- # You can use certain Compute Engine machine types directly in this field.
2413
- # The following types are supported:
2414
- # - `n1-standard-4`
2415
- # - `n1-standard-8`
2416
- # - `n1-standard-16`
2417
- # - `n1-standard-32`
2418
- # - `n1-standard-64`
2419
- # - `n1-standard-96`
2420
- # - `n1-highmem-2`
2421
- # - `n1-highmem-4`
2422
- # - `n1-highmem-8`
2423
- # - `n1-highmem-16`
2424
- # - `n1-highmem-32`
2425
- # - `n1-highmem-64`
2426
- # - `n1-highmem-96`
2427
- # - `n1-highcpu-16`
2428
- # - `n1-highcpu-32`
2429
- # - `n1-highcpu-64`
2430
- # - `n1-highcpu-96`
2431
- # Learn more about [using Compute Engine machine
2432
- # types](/ml-engine/docs/machine-types#compute-engine-machine-types).
2433
- # Alternatively, you can use the following legacy machine types:
2434
- # - `standard`
2435
- # - `large_model`
2436
- # - `complex_model_s`
2437
- # - `complex_model_m`
2438
- # - `complex_model_l`
2439
- # - `standard_gpu`
2440
- # - `complex_model_m_gpu`
2441
- # - `complex_model_l_gpu`
2442
- # - `standard_p100`
2443
- # - `complex_model_m_p100`
2444
- # - `standard_v100`
2445
- # - `large_model_v100`
2446
- # - `complex_model_m_v100`
2447
- # - `complex_model_l_v100`
2448
- # Learn more about [using legacy machine
2449
- # types](/ml-engine/docs/machine-types#legacy-machine-types).
2450
- # Finally, if you want to use a TPU for training, specify `cloud_tpu` in this
2451
- # field. Learn more about the [special configuration options for training
2452
- # with
2453
- # TPUs](/ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).
2591
+ # Optional. Specifies the type of virtual machine to use for your training job's
2592
+ # master worker. You must specify this field when `scaleTier` is set to `CUSTOM`.
2593
+ # You can use certain Compute Engine machine types directly in this field. The
2594
+ # following types are supported: - `n1-standard-4` - `n1-standard-8` - `n1-
2595
+ # standard-16` - `n1-standard-32` - `n1-standard-64` - `n1-standard-96` - `n1-
2596
+ # highmem-2` - `n1-highmem-4` - `n1-highmem-8` - `n1-highmem-16` - `n1-highmem-
2597
+ # 32` - `n1-highmem-64` - `n1-highmem-96` - `n1-highcpu-16` - `n1-highcpu-32` - `
2598
+ # n1-highcpu-64` - `n1-highcpu-96` Learn more about [using Compute Engine
2599
+ # machine types](/ml-engine/docs/machine-types#compute-engine-machine-types).
2600
+ # Alternatively, you can use the following legacy machine types: - `standard` - `
2601
+ # large_model` - `complex_model_s` - `complex_model_m` - `complex_model_l` - `
2602
+ # standard_gpu` - `complex_model_m_gpu` - `complex_model_l_gpu` - `standard_p100`
2603
+ # - `complex_model_m_p100` - `standard_v100` - `large_model_v100` - `
2604
+ # complex_model_m_v100` - `complex_model_l_v100` Learn more about [using legacy
2605
+ # machine types](/ml-engine/docs/machine-types#legacy-machine-types). Finally,
2606
+ # if you want to use a TPU for training, specify `cloud_tpu` in this field.
2607
+ # Learn more about the [special configuration options for training with TPUs](/
2608
+ # ml-engine/docs/tensorflow/using-tpus#configuring_a_custom_tpu_machine).
2454
2609
  # Corresponds to the JSON property `masterType`
2455
2610
  # @return [String]
2456
2611
  attr_accessor :master_type
2457
2612
 
2458
2613
  # Optional. The full name of the [Compute Engine network](/vpc/docs/vpc) to
2459
- # which the
2460
- # Job is peered. For example, `projects/12345/global/networks/myVPC`. The
2461
- # format of this field is `projects/`project`/global/networks/`network``,
2614
+ # which the Job is peered. For example, `projects/12345/global/networks/myVPC`.
2615
+ # The format of this field is `projects/`project`/global/networks/`network``,
2462
2616
  # where `project` is a project number (like `12345`) and `network` is network
2463
- # name.
2464
- # Private services access must already be configured for the network. If left
2465
- # unspecified, the Job is not peered with any network. [Learn about using VPC
2466
- # Network Peering.](/ai-platform/training/docs/vpc-peering).
2617
+ # name. Private services access must already be configured for the network. If
2618
+ # left unspecified, the Job is not peered with any network. [Learn about using
2619
+ # VPC Network Peering.](/ai-platform/training/docs/vpc-peering).
2467
2620
  # Corresponds to the JSON property `network`
2468
2621
  # @return [String]
2469
2622
  attr_accessor :network
2470
2623
 
2471
- # Required. The Google Cloud Storage location of the packages with
2472
- # the training program and any additional dependencies.
2473
- # The maximum number of package URIs is 100.
2624
+ # Required. The Google Cloud Storage location of the packages with the training
2625
+ # program and any additional dependencies. The maximum number of package URIs is
2626
+ # 100.
2474
2627
  # Corresponds to the JSON property `packageUris`
2475
2628
  # @return [Array<String>]
2476
2629
  attr_accessor :package_uris
@@ -2480,25 +2633,22 @@ module Google
2480
2633
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig]
2481
2634
  attr_accessor :parameter_server_config
2482
2635
 
2483
- # Optional. The number of parameter server replicas to use for the training
2484
- # job. Each replica in the cluster will be of the type specified in
2485
- # `parameter_server_type`.
2486
- # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
2487
- # set this value, you must also set `parameter_server_type`.
2636
+ # Optional. The number of parameter server replicas to use for the training job.
2637
+ # Each replica in the cluster will be of the type specified in `
2638
+ # parameter_server_type`. This value can only be used when `scale_tier` is set
2639
+ # to `CUSTOM`. If you set this value, you must also set `parameter_server_type`.
2488
2640
  # The default value is zero.
2489
2641
  # Corresponds to the JSON property `parameterServerCount`
2490
2642
  # @return [Fixnum]
2491
2643
  attr_accessor :parameter_server_count
2492
2644
 
2493
- # Optional. Specifies the type of virtual machine to use for your training
2494
- # job's parameter server.
2495
- # The supported values are the same as those described in the entry for
2496
- # `master_type`.
2497
- # This value must be consistent with the category of machine type that
2498
- # `masterType` uses. In other words, both must be Compute Engine machine
2499
- # types or both must be legacy machine types.
2500
- # This value must be present when `scaleTier` is set to `CUSTOM` and
2501
- # `parameter_server_count` is greater than zero.
2645
+ # Optional. Specifies the type of virtual machine to use for your training job's
2646
+ # parameter server. The supported values are the same as those described in the
2647
+ # entry for `master_type`. This value must be consistent with the category of
2648
+ # machine type that `masterType` uses. In other words, both must be Compute
2649
+ # Engine machine types or both must be legacy machine types. This value must be
2650
+ # present when `scaleTier` is set to `CUSTOM` and `parameter_server_count` is
2651
+ # greater than zero.
2502
2652
  # Corresponds to the JSON property `parameterServerType`
2503
2653
  # @return [String]
2504
2654
  attr_accessor :parameter_server_type
@@ -2508,38 +2658,35 @@ module Google
2508
2658
  # @return [String]
2509
2659
  attr_accessor :python_module
2510
2660
 
2511
- # Optional. The version of Python used in training. You must either specify
2512
- # this field or specify `masterConfig.imageUri`.
2513
- # The following Python versions are available:
2514
- # * Python '3.7' is available when `runtime_version` is set to '1.15' or
2515
- # later.
2516
- # * Python '3.5' is available when `runtime_version` is set to a version
2517
- # from '1.4' to '1.14'.
2518
- # * Python '2.7' is available when `runtime_version` is set to '1.15' or
2519
- # earlier.
2520
- # Read more about the Python versions available for [each runtime
2521
- # version](/ml-engine/docs/runtime-version-list).
2661
+ # Optional. The version of Python used in training. You must either specify this
2662
+ # field or specify `masterConfig.imageUri`. The following Python versions are
2663
+ # available: * Python '3.7' is available when `runtime_version` is set to '1.15'
2664
+ # or later. * Python '3.5' is available when `runtime_version` is set to a
2665
+ # version from '1.4' to '1.14'. * Python '2.7' is available when `
2666
+ # runtime_version` is set to '1.15' or earlier. Read more about the Python
2667
+ # versions available for [each runtime version](/ml-engine/docs/runtime-version-
2668
+ # list).
2522
2669
  # Corresponds to the JSON property `pythonVersion`
2523
2670
  # @return [String]
2524
2671
  attr_accessor :python_version
2525
2672
 
2526
- # Required. The region to run the training job in. See the [available
2527
- # regions](/ai-platform/training/docs/regions) for AI Platform Training.
2673
+ # Required. The region to run the training job in. See the [available regions](/
2674
+ # ai-platform/training/docs/regions) for AI Platform Training.
2528
2675
  # Corresponds to the JSON property `region`
2529
2676
  # @return [String]
2530
2677
  attr_accessor :region
2531
2678
 
2532
- # Optional. The AI Platform runtime version to use for training. You must
2533
- # either specify this field or specify `masterConfig.imageUri`.
2534
- # For more information, see the [runtime version
2535
- # list](/ai-platform/training/docs/runtime-version-list) and learn [how to
2536
- # manage runtime versions](/ai-platform/training/docs/versioning).
2679
+ # Optional. The AI Platform runtime version to use for training. You must either
2680
+ # specify this field or specify `masterConfig.imageUri`. For more information,
2681
+ # see the [runtime version list](/ai-platform/training/docs/runtime-version-list)
2682
+ # and learn [how to manage runtime versions](/ai-platform/training/docs/
2683
+ # versioning).
2537
2684
  # Corresponds to the JSON property `runtimeVersion`
2538
2685
  # @return [String]
2539
2686
  attr_accessor :runtime_version
2540
2687
 
2541
- # Required. Specifies the machine types, the number of replicas for workers
2542
- # and parameter servers.
2688
+ # Required. Specifies the machine types, the number of replicas for workers and
2689
+ # parameter servers.
2543
2690
  # Corresponds to the JSON property `scaleTier`
2544
2691
  # @return [String]
2545
2692
  attr_accessor :scale_tier
@@ -2552,23 +2699,20 @@ module Google
2552
2699
  # Optional. The email address of a service account to use when running the
2553
2700
  # training appplication. You must have the `iam.serviceAccounts.actAs`
2554
2701
  # permission for the specified service account. In addition, the AI Platform
2555
- # Training Google-managed service account must have the
2556
- # `roles/iam.serviceAccountAdmin` role for the specified service account.
2557
- # [Learn more about configuring a service
2558
- # account.](/ai-platform/training/docs/custom-service-account)
2559
- # If not specified, the AI Platform Training Google-managed service account
2560
- # is used by default.
2702
+ # Training Google-managed service account must have the `roles/iam.
2703
+ # serviceAccountAdmin` role for the specified service account. [Learn more about
2704
+ # configuring a service account.](/ai-platform/training/docs/custom-service-
2705
+ # account) If not specified, the AI Platform Training Google-managed service
2706
+ # account is used by default.
2561
2707
  # Corresponds to the JSON property `serviceAccount`
2562
2708
  # @return [String]
2563
2709
  attr_accessor :service_account
2564
2710
 
2565
2711
  # Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment
2566
2712
  # variable when training with a custom container. Defaults to `false`. [Learn
2567
- # more about this
2568
- # field.](/ai-platform/training/docs/distributed-training-details#chief-versus-
2569
- # master)
2570
- # This field has no effect for training jobs that don't use a custom
2571
- # container.
2713
+ # more about this field.](/ai-platform/training/docs/distributed-training-
2714
+ # details#chief-versus-master) This field has no effect for training jobs that
2715
+ # don't use a custom container.
2572
2716
  # Corresponds to the JSON property `useChiefInTfConfig`
2573
2717
  # @return [Boolean]
2574
2718
  attr_accessor :use_chief_in_tf_config
@@ -2580,27 +2724,22 @@ module Google
2580
2724
  attr_accessor :worker_config
2581
2725
 
2582
2726
  # Optional. The number of worker replicas to use for the training job. Each
2583
- # replica in the cluster will be of the type specified in `worker_type`.
2584
- # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
2585
- # set this value, you must also set `worker_type`.
2586
- # The default value is zero.
2727
+ # replica in the cluster will be of the type specified in `worker_type`. This
2728
+ # value can only be used when `scale_tier` is set to `CUSTOM`. If you set this
2729
+ # value, you must also set `worker_type`. The default value is zero.
2587
2730
  # Corresponds to the JSON property `workerCount`
2588
2731
  # @return [Fixnum]
2589
2732
  attr_accessor :worker_count
2590
2733
 
2591
- # Optional. Specifies the type of virtual machine to use for your training
2592
- # job's worker nodes.
2593
- # The supported values are the same as those described in the entry for
2594
- # `masterType`.
2595
- # This value must be consistent with the category of machine type that
2596
- # `masterType` uses. In other words, both must be Compute Engine machine
2597
- # types or both must be legacy machine types.
2598
- # If you use `cloud_tpu` for this value, see special instructions for
2599
- # [configuring a custom TPU
2600
- # machine](/ml-engine/docs/tensorflow/using-tpus#
2601
- # configuring_a_custom_tpu_machine).
2602
- # This value must be present when `scaleTier` is set to `CUSTOM` and
2603
- # `workerCount` is greater than zero.
2734
+ # Optional. Specifies the type of virtual machine to use for your training job's
2735
+ # worker nodes. The supported values are the same as those described in the
2736
+ # entry for `masterType`. This value must be consistent with the category of
2737
+ # machine type that `masterType` uses. In other words, both must be Compute
2738
+ # Engine machine types or both must be legacy machine types. If you use `
2739
+ # cloud_tpu` for this value, see special instructions for [configuring a custom
2740
+ # TPU machine](/ml-engine/docs/tensorflow/using-tpus#
2741
+ # configuring_a_custom_tpu_machine). This value must be present when `scaleTier`
2742
+ # is set to `CUSTOM` and `workerCount` is greater than zero.
2604
2743
  # Corresponds to the JSON property `workerType`
2605
2744
  # @return [String]
2606
2745
  attr_accessor :worker_type
@@ -2648,8 +2787,8 @@ module Google
2648
2787
  # @return [Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput]
2649
2788
  attr_accessor :built_in_algorithm_output
2650
2789
 
2651
- # The number of hyperparameter tuning trials that completed successfully.
2652
- # Only set for hyperparameter tuning jobs.
2790
+ # The number of hyperparameter tuning trials that completed successfully. Only
2791
+ # set for hyperparameter tuning jobs.
2653
2792
  # Corresponds to the JSON property `completedTrialCount`
2654
2793
  # @return [Fixnum]
2655
2794
  attr_accessor :completed_trial_count
@@ -2660,10 +2799,9 @@ module Google
2660
2799
  attr_accessor :consumed_ml_units
2661
2800
 
2662
2801
  # The TensorFlow summary tag name used for optimizing hyperparameter tuning
2663
- # trials. See
2664
- # [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.FIELDS.
2665
- # hyperparameter_metric_tag)
2666
- # for more information. Only set for hyperparameter tuning jobs.
2802
+ # trials. See [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.
2803
+ # FIELDS.hyperparameter_metric_tag) for more information. Only set for
2804
+ # hyperparameter tuning jobs.
2667
2805
  # Corresponds to the JSON property `hyperparameterMetricTag`
2668
2806
  # @return [String]
2669
2807
  attr_accessor :hyperparameter_metric_tag
@@ -2680,8 +2818,8 @@ module Google
2680
2818
  attr_accessor :is_hyperparameter_tuning_job
2681
2819
  alias_method :is_hyperparameter_tuning_job?, :is_hyperparameter_tuning_job
2682
2820
 
2683
- # Results for individual Hyperparameter trials.
2684
- # Only set for hyperparameter tuning jobs.
2821
+ # Results for individual Hyperparameter trials. Only set for hyperparameter
2822
+ # tuning jobs.
2685
2823
  # Corresponds to the JSON property `trials`
2686
2824
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>]
2687
2825
  attr_accessor :trials
@@ -2721,15 +2859,15 @@ module Google
2721
2859
  # @return [Google::Apis::MlV1::GoogleCloudMlV1Measurement]
2722
2860
  attr_accessor :final_measurement
2723
2861
 
2724
- # Output only. A human readable string describing why the trial is
2725
- # infeasible. This should only be set if trial_infeasible is true.
2862
+ # Output only. A human readable string describing why the trial is infeasible.
2863
+ # This should only be set if trial_infeasible is true.
2726
2864
  # Corresponds to the JSON property `infeasibleReason`
2727
2865
  # @return [String]
2728
2866
  attr_accessor :infeasible_reason
2729
2867
 
2730
- # A list of measurements that are strictly lexicographically
2731
- # ordered by their induced tuples (steps, elapsed_time).
2732
- # These are used for early stopping computations.
2868
+ # A list of measurements that are strictly lexicographically ordered by their
2869
+ # induced tuples (steps, elapsed_time). These are used for early stopping
2870
+ # computations.
2733
2871
  # Corresponds to the JSON property `measurements`
2734
2872
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>]
2735
2873
  attr_accessor :measurements
@@ -2779,19 +2917,17 @@ module Google
2779
2917
  end
2780
2918
  end
2781
2919
 
2782
- # Represents a version of the model.
2783
- # Each version is a trained model deployed in the cloud, ready to handle
2784
- # prediction requests. A model can have multiple versions. You can get
2785
- # information about all of the versions of a given model by calling
2786
- # projects.models.versions.list.
2920
+ # Represents a version of the model. Each version is a trained model deployed in
2921
+ # the cloud, ready to handle prediction requests. A model can have multiple
2922
+ # versions. You can get information about all of the versions of a given model
2923
+ # by calling projects.models.versions.list.
2787
2924
  class GoogleCloudMlV1Version
2788
2925
  include Google::Apis::Core::Hashable
2789
2926
 
2790
- # Represents a hardware accelerator request config.
2791
- # Note that the AcceleratorConfig can be used in both Jobs and Versions.
2792
- # Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
2793
- # [accelerators for online
2794
- # prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
2927
+ # Represents a hardware accelerator request config. Note that the
2928
+ # AcceleratorConfig can be used in both Jobs and Versions. Learn more about [
2929
+ # accelerators for training](/ml-engine/docs/using-gpus) and [accelerators for
2930
+ # online prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
2795
2931
  # Corresponds to the JSON property `acceleratorConfig`
2796
2932
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
2797
2933
  attr_accessor :accelerator_config
@@ -2801,22 +2937,30 @@ module Google
2801
2937
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
2802
2938
  attr_accessor :auto_scaling
2803
2939
 
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).
2943
+ # Corresponds to the JSON property `container`
2944
+ # @return [Google::Apis::MlV1::GoogleCloudMlV1ContainerSpec]
2945
+ attr_accessor :container
2946
+
2804
2947
  # Output only. The time the version was created.
2805
2948
  # Corresponds to the JSON property `createTime`
2806
2949
  # @return [String]
2807
2950
  attr_accessor :create_time
2808
2951
 
2809
- # Required. The Cloud Storage location of the trained model used to
2810
- # create the version. See the
2811
- # [guide to model
2812
- # deployment](/ml-engine/docs/tensorflow/deploying-models) for more
2813
- # information.
2814
- # When passing Version to
2815
- # projects.models.versions.create
2816
- # the model service uses the specified location as the source of the model.
2817
- # Once deployed, the model version is hosted by the prediction service, so
2818
- # this location is useful only as a historical record.
2819
- # 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).
2820
2964
  # Corresponds to the JSON property `deploymentUri`
2821
2965
  # @return [String]
2822
2966
  attr_accessor :deployment_uri
@@ -2831,57 +2975,50 @@ module Google
2831
2975
  # @return [String]
2832
2976
  attr_accessor :error_message
2833
2977
 
2834
- # `etag` is used for optimistic concurrency control as a way to help
2835
- # prevent simultaneous updates of a model from overwriting each other.
2836
- # It is strongly suggested that systems make use of the `etag` in the
2837
- # read-modify-write cycle to perform model updates in order to avoid race
2838
- # conditions: An `etag` is returned in the response to `GetVersion`, and
2839
- # systems are expected to put that etag in the request to `UpdateVersion` to
2840
- # ensure that their change will be applied to the model as intended.
2978
+ # `etag` is used for optimistic concurrency control as a way to help prevent
2979
+ # simultaneous updates of a model from overwriting each other. It is strongly
2980
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
2981
+ # to perform model updates in order to avoid race conditions: An `etag` is
2982
+ # returned in the response to `GetVersion`, and systems are expected to put that
2983
+ # etag in the request to `UpdateVersion` to ensure that their change will be
2984
+ # applied to the model as intended.
2841
2985
  # Corresponds to the JSON property `etag`
2842
2986
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2843
2987
  # @return [String]
2844
2988
  attr_accessor :etag
2845
2989
 
2846
- # Message holding configuration options for explaining model predictions.
2847
- # There are two feature attribution methods supported for TensorFlow models:
2848
- # integrated gradients and sampled Shapley.
2849
- # [Learn more about feature
2990
+ # Message holding configuration options for explaining model predictions. There
2991
+ # are three feature attribution methods supported for TensorFlow models:
2992
+ # integrated gradients, sampled Shapley, and XRAI. [Learn more about feature
2850
2993
  # attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
2851
2994
  # Corresponds to the JSON property `explanationConfig`
2852
2995
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
2853
2996
  attr_accessor :explanation_config
2854
2997
 
2855
- # Optional. The machine learning framework AI Platform uses to train
2856
- # this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
2857
- # `XGBOOST`. If you do not specify a framework, AI Platform
2858
- # will analyze files in the deployment_uri to determine a framework. If you
2859
- # choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version
2860
- # of the model to 1.4 or greater.
2861
- # Do **not** specify a framework if you're deploying a [custom
2862
- # prediction routine](/ml-engine/docs/tensorflow/custom-prediction-routines).
2863
- # If you specify a [Compute Engine (N1) machine
2864
- # type](/ml-engine/docs/machine-types-online-prediction) in the
2865
- # `machineType` field, you must specify `TENSORFLOW`
2866
- # for the framework.
2998
+ # Optional. The machine learning framework AI Platform uses to train this
2999
+ # version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`, `XGBOOST`.
3000
+ # If you do not specify a framework, AI Platform will analyze files in the
3001
+ # deployment_uri to determine a framework. If you choose `SCIKIT_LEARN` or `
3002
+ # XGBOOST`, you must also set the runtime version of the model to 1.4 or greater.
3003
+ # Do **not** specify a framework if you're deploying a [custom prediction
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).
2867
3006
  # Corresponds to the JSON property `framework`
2868
3007
  # @return [String]
2869
3008
  attr_accessor :framework
2870
3009
 
2871
- # Output only. If true, this version will be used to handle prediction
2872
- # requests that do not specify a version.
2873
- # You can change the default version by calling
3010
+ # Output only. If true, this version will be used to handle prediction requests
3011
+ # that do not specify a version. You can change the default version by calling
2874
3012
  # projects.methods.versions.setDefault.
2875
3013
  # Corresponds to the JSON property `isDefault`
2876
3014
  # @return [Boolean]
2877
3015
  attr_accessor :is_default
2878
3016
  alias_method :is_default?, :is_default
2879
3017
 
2880
- # Optional. One or more labels that you can add, to organize your model
2881
- # versions. Each label is a key-value pair, where both the key and the value
2882
- # are arbitrary strings that you supply.
2883
- # For more information, see the documentation on
2884
- # <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
3018
+ # Optional. One or more labels that you can add, to organize your model versions.
3019
+ # Each label is a key-value pair, where both the key and the value are
3020
+ # arbitrary strings that you supply. For more information, see the documentation
3021
+ # on using labels.
2885
3022
  # Corresponds to the JSON property `labels`
2886
3023
  # @return [Hash<String,String>]
2887
3024
  attr_accessor :labels
@@ -2893,28 +3030,14 @@ module Google
2893
3030
 
2894
3031
  # Optional. The type of machine on which to serve the model. Currently only
2895
3032
  # applies to online prediction service. If this field is not specified, it
2896
- # defaults to `mls1-c1-m2`.
2897
- # Online prediction supports the following machine types:
2898
- # * `mls1-c1-m2`
2899
- # * `mls1-c4-m2`
2900
- # * `n1-standard-2`
2901
- # * `n1-standard-4`
2902
- # * `n1-standard-8`
2903
- # * `n1-standard-16`
2904
- # * `n1-standard-32`
2905
- # * `n1-highmem-2`
2906
- # * `n1-highmem-4`
2907
- # * `n1-highmem-8`
2908
- # * `n1-highmem-16`
2909
- # * `n1-highmem-32`
2910
- # * `n1-highcpu-2`
2911
- # * `n1-highcpu-4`
2912
- # * `n1-highcpu-8`
2913
- # * `n1-highcpu-16`
2914
- # * `n1-highcpu-32`
2915
- # `mls1-c1-m2` is generally available. All other machine types are available
2916
- # in beta. Learn more about the [differences between machine
2917
- # types](/ml-engine/docs/machine-types-online-prediction).
3033
+ # defaults to `mls1-c1-m2`. Online prediction supports the following machine
3034
+ # types: * `mls1-c1-m2` * `mls1-c4-m2` * `n1-standard-2` * `n1-standard-4` * `n1-
3035
+ # standard-8` * `n1-standard-16` * `n1-standard-32` * `n1-highmem-2` * `n1-
3036
+ # highmem-4` * `n1-highmem-8` * `n1-highmem-16` * `n1-highmem-32` * `n1-highcpu-
3037
+ # 2` * `n1-highcpu-4` * `n1-highcpu-8` * `n1-highcpu-16` * `n1-highcpu-32` `mls1-
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).
2918
3041
  # Corresponds to the JSON property `machineType`
2919
3042
  # @return [String]
2920
3043
  attr_accessor :machine_type
@@ -2924,113 +3047,99 @@ module Google
2924
3047
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
2925
3048
  attr_accessor :manual_scaling
2926
3049
 
2927
- # Required. The name specified for the version when it was created.
2928
- # The version name must be unique within the model it is created in.
3050
+ # Required. The name specified for the version when it was created. The version
3051
+ # name must be unique within the model it is created in.
2929
3052
  # Corresponds to the JSON property `name`
2930
3053
  # @return [String]
2931
3054
  attr_accessor :name
2932
3055
 
2933
- # Optional. Cloud Storage paths (`gs://…`) of packages for [custom
2934
- # prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines)
2935
- # or [scikit-learn pipelines with custom
2936
- # code](/ml-engine/docs/scikit/exporting-for-prediction#custom-pipeline-code).
2937
- # For a custom prediction routine, one of these packages must contain your
2938
- # Predictor class (see
2939
- # [`predictionClass`](#Version.FIELDS.prediction_class)). Additionally,
2940
- # include any dependencies used by your Predictor or scikit-learn pipeline
2941
- # uses that are not already included in your selected [runtime
2942
- # version](/ml-engine/docs/tensorflow/runtime-version-list).
2943
- # If you specify this field, you must also set
2944
- # [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.
3056
+ # Optional. Cloud Storage paths (`gs://…`) of packages for [custom prediction
3057
+ # routines](/ml-engine/docs/tensorflow/custom-prediction-routines) or [scikit-
3058
+ # learn pipelines with custom code](/ml-engine/docs/scikit/exporting-for-
3059
+ # prediction#custom-pipeline-code). For a custom prediction routine, one of
3060
+ # these packages must contain your Predictor class (see [`predictionClass`](#
3061
+ # Version.FIELDS.prediction_class)). Additionally, include any dependencies used
3062
+ # by your Predictor or scikit-learn pipeline uses that are not already included
3063
+ # in your selected [runtime version](/ml-engine/docs/tensorflow/runtime-version-
3064
+ # list). If you specify this field, you must also set [`runtimeVersion`](#
3065
+ # Version.FIELDS.runtime_version) to 1.4 or greater.
2945
3066
  # Corresponds to the JSON property `packageUris`
2946
3067
  # @return [Array<String>]
2947
3068
  attr_accessor :package_uris
2948
3069
 
2949
- # Optional. The fully qualified name
2950
- # (<var>module_name</var>.<var>class_name</var>) of a class that implements
2951
- # the Predictor interface described in this reference field. The module
2952
- # containing this class should be included in a package provided to the
2953
- # [`packageUris` field](#Version.FIELDS.package_uris).
2954
- # Specify this field if and only if you are deploying a [custom prediction
2955
- # routine (beta)](/ml-engine/docs/tensorflow/custom-prediction-routines).
2956
- # If you specify this field, you must set
2957
- # [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and
2958
- # you must set `machineType` to a [legacy (MLS1)
2959
- # machine type](/ml-engine/docs/machine-types-online-prediction).
2960
- # The following code sample provides the Predictor interface:
2961
- # <pre style="max-width: 626px;">
2962
- # class Predictor(object):
2963
- # """Interface for constructing custom predictors."""
2964
- # def predict(self, instances, **kwargs):
2965
- # """Performs custom prediction.
2966
- # Instances are the decoded values from the request. They have already
2967
- # been deserialized from JSON.
2968
- # Args:
2969
- # instances: A list of prediction input instances.
2970
- # **kwargs: A dictionary of keyword args provided as additional
2971
- # fields on the predict request body.
2972
- # Returns:
2973
- # A list of outputs containing the prediction results. This list must
2974
- # be JSON serializable.
2975
- # """
2976
- # raise NotImplementedError()
2977
- # @classmethod
2978
- # def from_path(cls, model_dir):
2979
- # """Creates an instance of Predictor using the given path.
2980
- # Loading of the predictor should be done in this method.
2981
- # Args:
2982
- # model_dir: The local directory that contains the exported model
2983
- # file along with any additional files uploaded when creating the
2984
- # version resource.
2985
- # Returns:
2986
- # An instance implementing this Predictor class.
2987
- # """
2988
- # raise NotImplementedError()
2989
- # </pre>
2990
- # Learn more about [the Predictor interface and custom prediction
2991
- # routines](/ml-engine/docs/tensorflow/custom-prediction-routines).
3070
+ # Optional. The fully qualified name (module_name.class_name) of a class that
3071
+ # implements the Predictor interface described in this reference field. The
3072
+ # module containing this class should be included in a package provided to the [`
3073
+ # packageUris` field](#Version.FIELDS.package_uris). Specify this field if and
3074
+ # only if you are deploying a [custom prediction routine (beta)](/ml-engine/docs/
3075
+ # tensorflow/custom-prediction-routines). If you specify this field, you must
3076
+ # set [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and
3077
+ # you must set `machineType` to a [legacy (MLS1) machine type](/ml-engine/docs/
3078
+ # machine-types-online-prediction). The following code sample provides the
3079
+ # Predictor interface: class Predictor(object): """Interface for constructing
3080
+ # custom predictors.""" def predict(self, instances, **kwargs): """Performs
3081
+ # custom prediction. Instances are the decoded values from the request. They
3082
+ # have already been deserialized from JSON. Args: instances: A list of
3083
+ # prediction input instances. **kwargs: A dictionary of keyword args provided as
3084
+ # additional fields on the predict request body. Returns: A list of outputs
3085
+ # containing the prediction results. This list must be JSON serializable. """
3086
+ # raise NotImplementedError() @classmethod def from_path(cls, model_dir): """
3087
+ # Creates an instance of Predictor using the given path. Loading of the
3088
+ # predictor should be done in this method. Args: model_dir: The local directory
3089
+ # that contains the exported model file along with any additional files uploaded
3090
+ # when creating the version resource. Returns: An instance implementing this
3091
+ # Predictor class. """ raise NotImplementedError() Learn more about [the
3092
+ # Predictor interface and custom prediction routines](/ml-engine/docs/tensorflow/
3093
+ # custom-prediction-routines).
2992
3094
  # Corresponds to the JSON property `predictionClass`
2993
3095
  # @return [String]
2994
3096
  attr_accessor :prediction_class
2995
3097
 
2996
- # Required. The version of Python used in prediction.
2997
- # The following Python versions are available:
2998
- # * Python '3.7' is available when `runtime_version` is set to '1.15' or
2999
- # later.
3000
- # * Python '3.5' is available when `runtime_version` is set to a version
3001
- # from '1.4' to '1.14'.
3002
- # * Python '2.7' is available when `runtime_version` is set to '1.15' or
3003
- # earlier.
3004
- # Read more about the Python versions available for [each runtime
3005
- # version](/ml-engine/docs/runtime-version-list).
3098
+ # Required. The version of Python used in prediction. The following Python
3099
+ # versions are available: * Python '3.7' is available when `runtime_version` is
3100
+ # set to '1.15' or later. * Python '3.5' is available when `runtime_version` is
3101
+ # set to a version from '1.4' to '1.14'. * Python '2.7' is available when `
3102
+ # runtime_version` is set to '1.15' or earlier. Read more about the Python
3103
+ # versions available for [each runtime version](/ml-engine/docs/runtime-version-
3104
+ # list).
3006
3105
  # Corresponds to the JSON property `pythonVersion`
3007
3106
  # @return [String]
3008
3107
  attr_accessor :python_version
3009
3108
 
3010
- # Configuration for logging request-response pairs to a BigQuery table.
3011
- # Online prediction requests to a model version and the responses to these
3012
- # requests are converted to raw strings and saved to the specified BigQuery
3013
- # table. Logging is constrained by [BigQuery quotas and
3014
- # limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits,
3015
- # AI Platform Prediction does not log request-response pairs, but it continues
3016
- # to serve predictions.
3017
- # If you are using [continuous
3018
- # evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
3019
- # specify this configuration manually. Setting up continuous evaluation
3109
+ # Configuration for logging request-response pairs to a BigQuery table. Online
3110
+ # prediction requests to a model version and the responses to these requests are
3111
+ # converted to raw strings and saved to the specified BigQuery table. Logging is
3112
+ # constrained by [BigQuery quotas and limits](/bigquery/quotas). If your project
3113
+ # exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-
3114
+ # response pairs, but it continues to serve predictions. If you are using [
3115
+ # continuous evaluation](/ml-engine/docs/continuous-evaluation/), you do not
3116
+ # need to specify this configuration manually. Setting up continuous evaluation
3020
3117
  # automatically enables logging of request-response pairs.
3021
3118
  # Corresponds to the JSON property `requestLoggingConfig`
3022
3119
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
3023
3120
  attr_accessor :request_logging_config
3024
3121
 
3025
- # Required. The AI Platform runtime version to use for this deployment.
3026
- # For more information, see the
3027
- # [runtime version list](/ml-engine/docs/runtime-version-list) and
3028
- # [how to manage runtime versions](/ml-engine/docs/versioning).
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.
3128
+ # Corresponds to the JSON property `routes`
3129
+ # @return [Google::Apis::MlV1::GoogleCloudMlV1RouteMap]
3130
+ attr_accessor :routes
3131
+
3132
+ # Required. The AI Platform runtime version to use for this deployment. For more
3133
+ # information, see the [runtime version list](/ml-engine/docs/runtime-version-
3134
+ # list) and [how to manage runtime versions](/ml-engine/docs/versioning).
3029
3135
  # Corresponds to the JSON property `runtimeVersion`
3030
3136
  # @return [String]
3031
3137
  attr_accessor :runtime_version
3032
3138
 
3033
- # 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).
3034
3143
  # Corresponds to the JSON property `serviceAccount`
3035
3144
  # @return [String]
3036
3145
  attr_accessor :service_account
@@ -3048,6 +3157,7 @@ module Google
3048
3157
  def update!(**args)
3049
3158
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
3050
3159
  @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
3160
+ @container = args[:container] if args.key?(:container)
3051
3161
  @create_time = args[:create_time] if args.key?(:create_time)
3052
3162
  @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
3053
3163
  @description = args[:description] if args.key?(:description)
@@ -3065,22 +3175,23 @@ module Google
3065
3175
  @prediction_class = args[:prediction_class] if args.key?(:prediction_class)
3066
3176
  @python_version = args[:python_version] if args.key?(:python_version)
3067
3177
  @request_logging_config = args[:request_logging_config] if args.key?(:request_logging_config)
3178
+ @routes = args[:routes] if args.key?(:routes)
3068
3179
  @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
3069
3180
  @service_account = args[:service_account] if args.key?(:service_account)
3070
3181
  @state = args[:state] if args.key?(:state)
3071
3182
  end
3072
3183
  end
3073
3184
 
3074
- # Attributes credit by computing the XRAI taking advantage
3075
- # of the model's fully differentiable structure. Refer to this paper for
3076
- # more details: https://arxiv.org/abs/1906.02825
3077
- # Currently only implemented for models with natural image inputs.
3185
+ # Attributes credit by computing the XRAI taking advantage of the model's fully
3186
+ # differentiable structure. Refer to this paper for more details: https://arxiv.
3187
+ # org/abs/1906.02825 Currently only implemented for models with natural image
3188
+ # inputs.
3078
3189
  class GoogleCloudMlV1XraiAttribution
3079
3190
  include Google::Apis::Core::Hashable
3080
3191
 
3081
- # Number of steps for approximating the path integral.
3082
- # A good value to start is 50 and gradually increase until the
3083
- # sum to diff property is met within the desired error range.
3192
+ # Number of steps for approximating the path integral. A good value to start is
3193
+ # 50 and gradually increase until the sum to diff property is met within the
3194
+ # desired error range.
3084
3195
  # Corresponds to the JSON property `numIntegralSteps`
3085
3196
  # @return [Fixnum]
3086
3197
  attr_accessor :num_integral_steps
@@ -3095,53 +3206,21 @@ module Google
3095
3206
  end
3096
3207
  end
3097
3208
 
3098
- # Specifies the audit configuration for a service.
3099
- # The configuration determines which permission types are logged, and what
3100
- # identities, if any, are exempted from logging.
3101
- # An AuditConfig must have one or more AuditLogConfigs.
3102
- # If there are AuditConfigs for both `allServices` and a specific service,
3103
- # the union of the two AuditConfigs is used for that service: the log_types
3104
- # specified in each AuditConfig are enabled, and the exempted_members in each
3105
- # AuditLogConfig are exempted.
3106
- # Example Policy with multiple AuditConfigs:
3107
- # `
3108
- # "audit_configs": [
3109
- # `
3110
- # "service": "allServices",
3111
- # "audit_log_configs": [
3112
- # `
3113
- # "log_type": "DATA_READ",
3114
- # "exempted_members": [
3115
- # "user:jose@example.com"
3116
- # ]
3117
- # `,
3118
- # `
3119
- # "log_type": "DATA_WRITE"
3120
- # `,
3121
- # `
3122
- # "log_type": "ADMIN_READ"
3123
- # `
3124
- # ]
3125
- # `,
3126
- # `
3127
- # "service": "sampleservice.googleapis.com",
3128
- # "audit_log_configs": [
3129
- # `
3130
- # "log_type": "DATA_READ"
3131
- # `,
3132
- # `
3133
- # "log_type": "DATA_WRITE",
3134
- # "exempted_members": [
3135
- # "user:aliya@example.com"
3136
- # ]
3137
- # `
3138
- # ]
3139
- # `
3140
- # ]
3141
- # `
3142
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
3143
- # logging. It also exempts jose@example.com from DATA_READ logging, and
3144
- # aliya@example.com from DATA_WRITE logging.
3209
+ # Specifies the audit configuration for a service. The configuration determines
3210
+ # which permission types are logged, and what identities, if any, are exempted
3211
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
3212
+ # are AuditConfigs for both `allServices` and a specific service, the union of
3213
+ # the two AuditConfigs is used for that service: the log_types specified in each
3214
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
3215
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
3216
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
3217
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
3218
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
3219
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
3220
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
3221
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
3222
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
3223
+ # DATA_WRITE logging.
3145
3224
  class GoogleIamV1AuditConfig
3146
3225
  include Google::Apis::Core::Hashable
3147
3226
 
@@ -3150,9 +3229,9 @@ module Google
3150
3229
  # @return [Array<Google::Apis::MlV1::GoogleIamV1AuditLogConfig>]
3151
3230
  attr_accessor :audit_log_configs
3152
3231
 
3153
- # Specifies a service that will be enabled for audit logging.
3154
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
3155
- # `allServices` is a special value that covers all services.
3232
+ # Specifies a service that will be enabled for audit logging. For example, `
3233
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
3234
+ # value that covers all services.
3156
3235
  # Corresponds to the JSON property `service`
3157
3236
  # @return [String]
3158
3237
  attr_accessor :service
@@ -3168,28 +3247,15 @@ module Google
3168
3247
  end
3169
3248
  end
3170
3249
 
3171
- # Provides the configuration for logging a type of permissions.
3172
- # Example:
3173
- # `
3174
- # "audit_log_configs": [
3175
- # `
3176
- # "log_type": "DATA_READ",
3177
- # "exempted_members": [
3178
- # "user:jose@example.com"
3179
- # ]
3180
- # `,
3181
- # `
3182
- # "log_type": "DATA_WRITE"
3183
- # `
3184
- # ]
3185
- # `
3186
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
3187
- # jose@example.com from DATA_READ logging.
3250
+ # Provides the configuration for logging a type of permissions. Example: ` "
3251
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
3252
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
3253
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
3254
+ # DATA_READ logging.
3188
3255
  class GoogleIamV1AuditLogConfig
3189
3256
  include Google::Apis::Core::Hashable
3190
3257
 
3191
- # Specifies the identities that do not cause logging for this type of
3192
- # permission.
3258
+ # Specifies the identities that do not cause logging for this type of permission.
3193
3259
  # Follows the same format of Binding.members.
3194
3260
  # Corresponds to the JSON property `exemptedMembers`
3195
3261
  # @return [Array<String>]
@@ -3215,69 +3281,63 @@ module Google
3215
3281
  class GoogleIamV1Binding
3216
3282
  include Google::Apis::Core::Hashable
3217
3283
 
3218
- # Represents a textual expression in the Common Expression Language (CEL)
3219
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
3220
- # are documented at https://github.com/google/cel-spec.
3221
- # Example (Comparison):
3222
- # title: "Summary size limit"
3223
- # description: "Determines if a summary is less than 100 chars"
3224
- # expression: "document.summary.size() < 100"
3225
- # Example (Equality):
3226
- # title: "Requestor is owner"
3227
- # description: "Determines if requestor is the document owner"
3228
- # expression: "document.owner == request.auth.claims.email"
3229
- # Example (Logic):
3230
- # title: "Public documents"
3231
- # description: "Determine whether the document should be publicly visible"
3232
- # expression: "document.type != 'private' && document.type != 'internal'"
3233
- # Example (Data Manipulation):
3234
- # title: "Notification string"
3235
- # description: "Create a notification string with a timestamp."
3236
- # expression: "'New message received at ' + string(document.create_time)"
3237
- # The exact variables and functions that may be referenced within an expression
3238
- # are determined by the service that evaluates it. See the service
3239
- # documentation for additional information.
3284
+ # A client-specified ID for this binding. Expected to be globally unique to
3285
+ # support the internal bindings-by-ID API.
3286
+ # Corresponds to the JSON property `bindingId`
3287
+ # @return [String]
3288
+ attr_accessor :binding_id
3289
+
3290
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
3291
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
3292
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
3293
+ # "Summary size limit" description: "Determines if a summary is less than 100
3294
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
3295
+ # Requestor is owner" description: "Determines if requestor is the document
3296
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
3297
+ # Logic): title: "Public documents" description: "Determine whether the document
3298
+ # should be publicly visible" expression: "document.type != 'private' &&
3299
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
3300
+ # string" description: "Create a notification string with a timestamp."
3301
+ # expression: "'New message received at ' + string(document.create_time)" The
3302
+ # exact variables and functions that may be referenced within an expression are
3303
+ # determined by the service that evaluates it. See the service documentation for
3304
+ # additional information.
3240
3305
  # Corresponds to the JSON property `condition`
3241
3306
  # @return [Google::Apis::MlV1::GoogleTypeExpr]
3242
3307
  attr_accessor :condition
3243
3308
 
3244
- # Specifies the identities requesting access for a Cloud Platform resource.
3245
- # `members` can have the following values:
3246
- # * `allUsers`: A special identifier that represents anyone who is
3247
- # on the internet; with or without a Google account.
3248
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
3249
- # who is authenticated with a Google account or a service account.
3250
- # * `user:`emailid``: An email address that represents a specific Google
3251
- # account. For example, `alice@example.com` .
3252
- # * `serviceAccount:`emailid``: An email address that represents a service
3253
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
3254
- # * `group:`emailid``: An email address that represents a Google group.
3255
- # For example, `admins@example.com`.
3256
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
3257
- # identifier) representing a user that has been recently deleted. For
3258
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
3259
- # recovered, this value reverts to `user:`emailid`` and the recovered user
3260
- # retains the role in the binding.
3261
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
3262
- # unique identifier) representing a service account that has been recently
3263
- # deleted. For example,
3264
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
3265
- # If the service account is undeleted, this value reverts to
3266
- # `serviceAccount:`emailid`` and the undeleted service account retains the
3267
- # role in the binding.
3268
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
3269
- # identifier) representing a Google group that has been recently
3270
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
3271
- # the group is recovered, this value reverts to `group:`emailid`` and the
3272
- # recovered group retains the role in the binding.
3273
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
3274
- # users of that domain. For example, `google.com` or `example.com`.
3309
+ # Specifies the identities requesting access for a Cloud Platform resource. `
3310
+ # members` can have the following values: * `allUsers`: A special identifier
3311
+ # that represents anyone who is on the internet; with or without a Google
3312
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
3313
+ # anyone who is authenticated with a Google account or a service account. * `
3314
+ # user:`emailid``: An email address that represents a specific Google account.
3315
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
3316
+ # address that represents a service account. For example, `my-other-app@appspot.
3317
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
3318
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
3319
+ # `uniqueid``: An email address (plus unique identifier) representing a user
3320
+ # that has been recently deleted. For example, `alice@example.com?uid=
3321
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
3322
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
3323
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
3324
+ # identifier) representing a service account that has been recently deleted. For
3325
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
3326
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
3327
+ # emailid`` and the undeleted service account retains the role in the binding. *
3328
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
3329
+ # identifier) representing a Google group that has been recently deleted. For
3330
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
3331
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
3332
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
3333
+ # primary) that represents all the users of that domain. For example, `google.
3334
+ # com` or `example.com`.
3275
3335
  # Corresponds to the JSON property `members`
3276
3336
  # @return [Array<String>]
3277
3337
  attr_accessor :members
3278
3338
 
3279
- # Role that is assigned to `members`.
3280
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
3339
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
3340
+ # , or `roles/owner`.
3281
3341
  # Corresponds to the JSON property `role`
3282
3342
  # @return [String]
3283
3343
  attr_accessor :role
@@ -3288,6 +3348,7 @@ module Google
3288
3348
 
3289
3349
  # Update properties of this object
3290
3350
  def update!(**args)
3351
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
3291
3352
  @condition = args[:condition] if args.key?(:condition)
3292
3353
  @members = args[:members] if args.key?(:members)
3293
3354
  @role = args[:role] if args.key?(:role)
@@ -3295,66 +3356,32 @@ module Google
3295
3356
  end
3296
3357
 
3297
3358
  # An Identity and Access Management (IAM) policy, which specifies access
3298
- # controls for Google Cloud resources.
3299
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3300
- # `members` to a single `role`. Members can be user accounts, service accounts,
3301
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3302
- # permissions; each `role` can be an IAM predefined role or a user-created
3303
- # custom role.
3304
- # For some types of Google Cloud resources, a `binding` can also specify a
3305
- # `condition`, which is a logical expression that allows access to a resource
3306
- # only if the expression evaluates to `true`. A condition can add constraints
3307
- # based on attributes of the request, the resource, or both. To learn which
3308
- # resources support conditions in their IAM policies, see the
3309
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3310
- # policies).
3311
- # **JSON example:**
3312
- # `
3313
- # "bindings": [
3314
- # `
3315
- # "role": "roles/resourcemanager.organizationAdmin",
3316
- # "members": [
3317
- # "user:mike@example.com",
3318
- # "group:admins@example.com",
3319
- # "domain:google.com",
3320
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3321
- # ]
3322
- # `,
3323
- # `
3324
- # "role": "roles/resourcemanager.organizationViewer",
3325
- # "members": [
3326
- # "user:eve@example.com"
3327
- # ],
3328
- # "condition": `
3329
- # "title": "expirable access",
3330
- # "description": "Does not grant access after Sep 2020",
3331
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3332
- # ",
3333
- # `
3334
- # `
3335
- # ],
3336
- # "etag": "BwWWja0YfJA=",
3337
- # "version": 3
3338
- # `
3339
- # **YAML example:**
3340
- # bindings:
3341
- # - members:
3342
- # - user:mike@example.com
3343
- # - group:admins@example.com
3344
- # - domain:google.com
3345
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3346
- # role: roles/resourcemanager.organizationAdmin
3347
- # - members:
3348
- # - user:eve@example.com
3349
- # role: roles/resourcemanager.organizationViewer
3350
- # condition:
3351
- # title: expirable access
3352
- # description: Does not grant access after Sep 2020
3353
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3354
- # - etag: BwWWja0YfJA=
3355
- # - version: 3
3356
- # For a description of IAM and its features, see the
3357
- # [IAM documentation](https://cloud.google.com/iam/docs/).
3359
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3360
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3361
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3362
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3363
+ # role or a user-created custom role. For some types of Google Cloud resources,
3364
+ # a `binding` can also specify a `condition`, which is a logical expression that
3365
+ # allows access to a resource only if the expression evaluates to `true`. A
3366
+ # condition can add constraints based on attributes of the request, the resource,
3367
+ # or both. To learn which resources support conditions in their IAM policies,
3368
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3369
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3370
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3371
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3372
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3373
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3374
+ # title": "expirable access", "description": "Does not grant access after Sep
3375
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3376
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3377
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3378
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3379
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3380
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3381
+ # description: Does not grant access after Sep 2020 expression: request.time <
3382
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3383
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3384
+ # google.com/iam/docs/).
3358
3385
  class GoogleIamV1Policy
3359
3386
  include Google::Apis::Core::Hashable
3360
3387
 
@@ -3363,48 +3390,44 @@ module Google
3363
3390
  # @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
3364
3391
  attr_accessor :audit_configs
3365
3392
 
3366
- # Associates a list of `members` to a `role`. Optionally, may specify a
3367
- # `condition` that determines how and when the `bindings` are applied. Each
3368
- # of the `bindings` must contain at least one member.
3393
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
3394
+ # condition` that determines how and when the `bindings` are applied. Each of
3395
+ # the `bindings` must contain at least one member.
3369
3396
  # Corresponds to the JSON property `bindings`
3370
3397
  # @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
3371
3398
  attr_accessor :bindings
3372
3399
 
3373
- # `etag` is used for optimistic concurrency control as a way to help
3374
- # prevent simultaneous updates of a policy from overwriting each other.
3375
- # It is strongly suggested that systems make use of the `etag` in the
3376
- # read-modify-write cycle to perform policy updates in order to avoid race
3377
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
3378
- # systems are expected to put that etag in the request to `setIamPolicy` to
3379
- # ensure that their change will be applied to the same version of the policy.
3380
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3381
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3382
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3383
- # the conditions in the version `3` policy are lost.
3400
+ # `etag` is used for optimistic concurrency control as a way to help prevent
3401
+ # simultaneous updates of a policy from overwriting each other. It is strongly
3402
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
3403
+ # to perform policy updates in order to avoid race conditions: An `etag` is
3404
+ # returned in the response to `getIamPolicy`, and systems are expected to put
3405
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
3406
+ # applied to the same version of the policy. **Important:** If you use IAM
3407
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
3408
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
3409
+ # with a version `1` policy, and all of the conditions in the version `3` policy
3410
+ # are lost.
3384
3411
  # Corresponds to the JSON property `etag`
3385
3412
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3386
3413
  # @return [String]
3387
3414
  attr_accessor :etag
3388
3415
 
3389
- # Specifies the format of the policy.
3390
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3391
- # are rejected.
3392
- # Any operation that affects conditional role bindings must specify version
3393
- # `3`. This requirement applies to the following operations:
3394
- # * Getting a policy that includes a conditional role binding
3395
- # * Adding a conditional role binding to a policy
3396
- # * Changing a conditional role binding in a policy
3397
- # * Removing any role binding, with or without a condition, from a policy
3398
- # that includes conditions
3399
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3400
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3401
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3402
- # the conditions in the version `3` policy are lost.
3403
- # If a policy does not include any conditions, operations on that policy may
3404
- # specify any valid version or leave the field unset.
3405
- # To learn which resources support conditions in their IAM policies, see the
3406
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3407
- # policies).
3416
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
3417
+ # Requests that specify an invalid value are rejected. Any operation that
3418
+ # affects conditional role bindings must specify version `3`. This requirement
3419
+ # applies to the following operations: * Getting a policy that includes a
3420
+ # conditional role binding * Adding a conditional role binding to a policy *
3421
+ # Changing a conditional role binding in a policy * Removing any role binding,
3422
+ # with or without a condition, from a policy that includes conditions **
3423
+ # Important:** If you use IAM Conditions, you must include the `etag` field
3424
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
3425
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
3426
+ # conditions in the version `3` policy are lost. If a policy does not include
3427
+ # any conditions, operations on that policy may specify any valid version or
3428
+ # leave the field unset. To learn which resources support conditions in their
3429
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
3430
+ # conditions/resource-policies).
3408
3431
  # Corresponds to the JSON property `version`
3409
3432
  # @return [Fixnum]
3410
3433
  attr_accessor :version
@@ -3427,74 +3450,39 @@ module Google
3427
3450
  include Google::Apis::Core::Hashable
3428
3451
 
3429
3452
  # An Identity and Access Management (IAM) policy, which specifies access
3430
- # controls for Google Cloud resources.
3431
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3432
- # `members` to a single `role`. Members can be user accounts, service accounts,
3433
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3434
- # permissions; each `role` can be an IAM predefined role or a user-created
3435
- # custom role.
3436
- # For some types of Google Cloud resources, a `binding` can also specify a
3437
- # `condition`, which is a logical expression that allows access to a resource
3438
- # only if the expression evaluates to `true`. A condition can add constraints
3439
- # based on attributes of the request, the resource, or both. To learn which
3440
- # resources support conditions in their IAM policies, see the
3441
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3442
- # policies).
3443
- # **JSON example:**
3444
- # `
3445
- # "bindings": [
3446
- # `
3447
- # "role": "roles/resourcemanager.organizationAdmin",
3448
- # "members": [
3449
- # "user:mike@example.com",
3450
- # "group:admins@example.com",
3451
- # "domain:google.com",
3452
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3453
- # ]
3454
- # `,
3455
- # `
3456
- # "role": "roles/resourcemanager.organizationViewer",
3457
- # "members": [
3458
- # "user:eve@example.com"
3459
- # ],
3460
- # "condition": `
3461
- # "title": "expirable access",
3462
- # "description": "Does not grant access after Sep 2020",
3463
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3464
- # ",
3465
- # `
3466
- # `
3467
- # ],
3468
- # "etag": "BwWWja0YfJA=",
3469
- # "version": 3
3470
- # `
3471
- # **YAML example:**
3472
- # bindings:
3473
- # - members:
3474
- # - user:mike@example.com
3475
- # - group:admins@example.com
3476
- # - domain:google.com
3477
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3478
- # role: roles/resourcemanager.organizationAdmin
3479
- # - members:
3480
- # - user:eve@example.com
3481
- # role: roles/resourcemanager.organizationViewer
3482
- # condition:
3483
- # title: expirable access
3484
- # description: Does not grant access after Sep 2020
3485
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3486
- # - etag: BwWWja0YfJA=
3487
- # - version: 3
3488
- # For a description of IAM and its features, see the
3489
- # [IAM documentation](https://cloud.google.com/iam/docs/).
3453
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3454
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3455
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3456
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3457
+ # role or a user-created custom role. For some types of Google Cloud resources,
3458
+ # a `binding` can also specify a `condition`, which is a logical expression that
3459
+ # allows access to a resource only if the expression evaluates to `true`. A
3460
+ # condition can add constraints based on attributes of the request, the resource,
3461
+ # or both. To learn which resources support conditions in their IAM policies,
3462
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3463
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3464
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3465
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3466
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3467
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3468
+ # title": "expirable access", "description": "Does not grant access after Sep
3469
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3470
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3471
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3472
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3473
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3474
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3475
+ # description: Does not grant access after Sep 2020 expression: request.time <
3476
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3477
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3478
+ # google.com/iam/docs/).
3490
3479
  # Corresponds to the JSON property `policy`
3491
3480
  # @return [Google::Apis::MlV1::GoogleIamV1Policy]
3492
3481
  attr_accessor :policy
3493
3482
 
3494
3483
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3495
- # the fields in the mask will be modified. If no mask is provided, the
3496
- # following default mask is used:
3497
- # `paths: "bindings, etag"`
3484
+ # the fields in the mask will be modified. If no mask is provided, the following
3485
+ # default mask is used: `paths: "bindings, etag"`
3498
3486
  # Corresponds to the JSON property `updateMask`
3499
3487
  # @return [String]
3500
3488
  attr_accessor :update_mask
@@ -3514,10 +3502,9 @@ module Google
3514
3502
  class GoogleIamV1TestIamPermissionsRequest
3515
3503
  include Google::Apis::Core::Hashable
3516
3504
 
3517
- # The set of permissions to check for the `resource`. Permissions with
3518
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
3519
- # information see
3520
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
3505
+ # The set of permissions to check for the `resource`. Permissions with wildcards
3506
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
3507
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
3521
3508
  # Corresponds to the JSON property `permissions`
3522
3509
  # @return [Array<String>]
3523
3510
  attr_accessor :permissions
@@ -3536,8 +3523,7 @@ module Google
3536
3523
  class GoogleIamV1TestIamPermissionsResponse
3537
3524
  include Google::Apis::Core::Hashable
3538
3525
 
3539
- # A subset of `TestPermissionsRequest.permissions` that the caller is
3540
- # allowed.
3526
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
3541
3527
  # Corresponds to the JSON property `permissions`
3542
3528
  # @return [Array<String>]
3543
3529
  attr_accessor :permissions
@@ -3582,47 +3568,45 @@ module Google
3582
3568
  class GoogleLongrunningOperation
3583
3569
  include Google::Apis::Core::Hashable
3584
3570
 
3585
- # If the value is `false`, it means the operation is still in progress.
3586
- # If `true`, the operation is completed, and either `error` or `response` is
3587
- # available.
3571
+ # If the value is `false`, it means the operation is still in progress. If `true`
3572
+ # , the operation is completed, and either `error` or `response` is available.
3588
3573
  # Corresponds to the JSON property `done`
3589
3574
  # @return [Boolean]
3590
3575
  attr_accessor :done
3591
3576
  alias_method :done?, :done
3592
3577
 
3593
- # The `Status` type defines a logical error model that is suitable for
3594
- # different programming environments, including REST APIs and RPC APIs. It is
3595
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3596
- # three pieces of data: error code, error message, and error details.
3597
- # You can find out more about this error model and how to work with it in the
3598
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3578
+ # The `Status` type defines a logical error model that is suitable for different
3579
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3580
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3581
+ # data: error code, error message, and error details. You can find out more
3582
+ # about this error model and how to work with it in the [API Design Guide](https:
3583
+ # //cloud.google.com/apis/design/errors).
3599
3584
  # Corresponds to the JSON property `error`
3600
3585
  # @return [Google::Apis::MlV1::GoogleRpcStatus]
3601
3586
  attr_accessor :error
3602
3587
 
3603
- # Service-specific metadata associated with the operation. It typically
3604
- # contains progress information and common metadata such as create time.
3605
- # Some services might not provide such metadata. Any method that returns a
3606
- # long-running operation should document the metadata type, if any.
3588
+ # Service-specific metadata associated with the operation. It typically contains
3589
+ # progress information and common metadata such as create time. Some services
3590
+ # might not provide such metadata. Any method that returns a long-running
3591
+ # operation should document the metadata type, if any.
3607
3592
  # Corresponds to the JSON property `metadata`
3608
3593
  # @return [Hash<String,Object>]
3609
3594
  attr_accessor :metadata
3610
3595
 
3611
3596
  # The server-assigned name, which is only unique within the same service that
3612
- # originally returns it. If you use the default HTTP mapping, the
3613
- # `name` should be a resource name ending with `operations/`unique_id``.
3597
+ # originally returns it. If you use the default HTTP mapping, the `name` should
3598
+ # be a resource name ending with `operations/`unique_id``.
3614
3599
  # Corresponds to the JSON property `name`
3615
3600
  # @return [String]
3616
3601
  attr_accessor :name
3617
3602
 
3618
- # The normal response of the operation in case of success. If the original
3619
- # method returns no data on success, such as `Delete`, the response is
3620
- # `google.protobuf.Empty`. If the original method is standard
3621
- # `Get`/`Create`/`Update`, the response should be the resource. For other
3622
- # methods, the response should have the type `XxxResponse`, where `Xxx`
3623
- # is the original method name. For example, if the original method name
3624
- # is `TakeSnapshot()`, the inferred response type is
3625
- # `TakeSnapshotResponse`.
3603
+ # The normal response of the operation in case of success. If the original
3604
+ # method returns no data on success, such as `Delete`, the response is `google.
3605
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3606
+ # the response should be the resource. For other methods, the response should
3607
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
3608
+ # example, if the original method name is `TakeSnapshot()`, the inferred
3609
+ # response type is `TakeSnapshotResponse`.
3626
3610
  # Corresponds to the JSON property `response`
3627
3611
  # @return [Hash<String,Object>]
3628
3612
  attr_accessor :response
@@ -3641,13 +3625,11 @@ module Google
3641
3625
  end
3642
3626
  end
3643
3627
 
3644
- # A generic empty message that you can re-use to avoid defining duplicated
3645
- # empty messages in your APIs. A typical example is to use it as the request
3646
- # or the response type of an API method. For instance:
3647
- # service Foo `
3648
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
3649
- # `
3650
- # The JSON representation for `Empty` is empty JSON object ````.
3628
+ # A generic empty message that you can re-use to avoid defining duplicated empty
3629
+ # messages in your APIs. A typical example is to use it as the request or the
3630
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
3631
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
3632
+ # `Empty` is empty JSON object ````.
3651
3633
  class GoogleProtobufEmpty
3652
3634
  include Google::Apis::Core::Hashable
3653
3635
 
@@ -3660,12 +3642,12 @@ module Google
3660
3642
  end
3661
3643
  end
3662
3644
 
3663
- # The `Status` type defines a logical error model that is suitable for
3664
- # different programming environments, including REST APIs and RPC APIs. It is
3665
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3666
- # three pieces of data: error code, error message, and error details.
3667
- # You can find out more about this error model and how to work with it in the
3668
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3645
+ # The `Status` type defines a logical error model that is suitable for different
3646
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3647
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3648
+ # data: error code, error message, and error details. You can find out more
3649
+ # about this error model and how to work with it in the [API Design Guide](https:
3650
+ # //cloud.google.com/apis/design/errors).
3669
3651
  class GoogleRpcStatus
3670
3652
  include Google::Apis::Core::Hashable
3671
3653
 
@@ -3674,15 +3656,15 @@ module Google
3674
3656
  # @return [Fixnum]
3675
3657
  attr_accessor :code
3676
3658
 
3677
- # A list of messages that carry the error details. There is a common set of
3659
+ # A list of messages that carry the error details. There is a common set of
3678
3660
  # message types for APIs to use.
3679
3661
  # Corresponds to the JSON property `details`
3680
3662
  # @return [Array<Hash<String,Object>>]
3681
3663
  attr_accessor :details
3682
3664
 
3683
- # A developer-facing error message, which should be in English. Any
3684
- # user-facing error message should be localized and sent in the
3685
- # google.rpc.Status.details field, or localized by the client.
3665
+ # A developer-facing error message, which should be in English. Any user-facing
3666
+ # error message should be localized and sent in the google.rpc.Status.details
3667
+ # field, or localized by the client.
3686
3668
  # Corresponds to the JSON property `message`
3687
3669
  # @return [String]
3688
3670
  attr_accessor :message
@@ -3699,52 +3681,43 @@ module Google
3699
3681
  end
3700
3682
  end
3701
3683
 
3702
- # Represents a textual expression in the Common Expression Language (CEL)
3703
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
3704
- # are documented at https://github.com/google/cel-spec.
3705
- # Example (Comparison):
3706
- # title: "Summary size limit"
3707
- # description: "Determines if a summary is less than 100 chars"
3708
- # expression: "document.summary.size() < 100"
3709
- # Example (Equality):
3710
- # title: "Requestor is owner"
3711
- # description: "Determines if requestor is the document owner"
3712
- # expression: "document.owner == request.auth.claims.email"
3713
- # Example (Logic):
3714
- # title: "Public documents"
3715
- # description: "Determine whether the document should be publicly visible"
3716
- # expression: "document.type != 'private' && document.type != 'internal'"
3717
- # Example (Data Manipulation):
3718
- # title: "Notification string"
3719
- # description: "Create a notification string with a timestamp."
3720
- # expression: "'New message received at ' + string(document.create_time)"
3721
- # The exact variables and functions that may be referenced within an expression
3722
- # are determined by the service that evaluates it. See the service
3723
- # documentation for additional information.
3684
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
3685
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
3686
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
3687
+ # "Summary size limit" description: "Determines if a summary is less than 100
3688
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
3689
+ # Requestor is owner" description: "Determines if requestor is the document
3690
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
3691
+ # Logic): title: "Public documents" description: "Determine whether the document
3692
+ # should be publicly visible" expression: "document.type != 'private' &&
3693
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
3694
+ # string" description: "Create a notification string with a timestamp."
3695
+ # expression: "'New message received at ' + string(document.create_time)" The
3696
+ # exact variables and functions that may be referenced within an expression are
3697
+ # determined by the service that evaluates it. See the service documentation for
3698
+ # additional information.
3724
3699
  class GoogleTypeExpr
3725
3700
  include Google::Apis::Core::Hashable
3726
3701
 
3727
- # Optional. Description of the expression. This is a longer text which
3728
- # describes the expression, e.g. when hovered over it in a UI.
3702
+ # Optional. Description of the expression. This is a longer text which describes
3703
+ # the expression, e.g. when hovered over it in a UI.
3729
3704
  # Corresponds to the JSON property `description`
3730
3705
  # @return [String]
3731
3706
  attr_accessor :description
3732
3707
 
3733
- # Textual representation of an expression in Common Expression Language
3734
- # syntax.
3708
+ # Textual representation of an expression in Common Expression Language syntax.
3735
3709
  # Corresponds to the JSON property `expression`
3736
3710
  # @return [String]
3737
3711
  attr_accessor :expression
3738
3712
 
3739
- # Optional. String indicating the location of the expression for error
3740
- # reporting, e.g. a file name and a position in the file.
3713
+ # Optional. String indicating the location of the expression for error reporting,
3714
+ # e.g. a file name and a position in the file.
3741
3715
  # Corresponds to the JSON property `location`
3742
3716
  # @return [String]
3743
3717
  attr_accessor :location
3744
3718
 
3745
- # Optional. Title for the expression, i.e. a short string describing
3746
- # its purpose. This can be used e.g. in UIs which allow to enter the
3747
- # expression.
3719
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
3720
+ # This can be used e.g. in UIs which allow to enter the expression.
3748
3721
  # Corresponds to the JSON property `title`
3749
3722
  # @return [String]
3750
3723
  attr_accessor :title