google-api-client 0.41.2 → 0.44.0

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