google-api-client 0.43.0 → 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 (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -160,12 +160,6 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class OperationMetadata
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
163
  class Status
170
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
165
 
@@ -430,19 +424,6 @@ module Google
430
424
  end
431
425
  end
432
426
 
433
- class OperationMetadata
434
- # @private
435
- class Representation < Google::Apis::Core::JsonRepresentation
436
- property :api_version, as: 'apiVersion'
437
- property :cancel_requested, as: 'cancelRequested'
438
- property :create_time, as: 'createTime'
439
- property :end_time, as: 'endTime'
440
- property :status_detail, as: 'statusDetail'
441
- property :target, as: 'target'
442
- property :verb, as: 'verb'
443
- end
444
- end
445
-
446
427
  class Status
447
428
  # @private
448
429
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -117,12 +117,11 @@ module Google
117
117
  execute_or_queue_command(command, &block)
118
118
  end
119
119
 
120
- # ApplyParameters will update current set of Parameters to the set of
121
- # specified nodes of the Memcached Instance.
120
+ # ApplyParameters will update current set of Parameters to the set of specified
121
+ # nodes of the Memcached Instance.
122
122
  # @param [String] name
123
123
  # Required. Resource name of the Memcached instance for which parameter group
124
- # updates
125
- # should be applied.
124
+ # updates should be applied.
126
125
  # @param [Google::Apis::MemcacheV1beta2::ApplyParametersRequest] apply_parameters_request_object
127
126
  # @param [String] fields
128
127
  # Selector specifying which fields to include in a partial response.
@@ -155,18 +154,16 @@ module Google
155
154
 
156
155
  # Creates a new Instance in a given project and location.
157
156
  # @param [String] parent
158
- # Required. The resource name of the instance location using the form:
159
- # `projects/`project_id`/locations/`location_id``
160
- # where `location_id` refers to a GCP region
157
+ # Required. The resource name of the instance location using the form: `projects/
158
+ # `project_id`/locations/`location_id`` where `location_id` refers to a GCP
159
+ # region
161
160
  # @param [Google::Apis::MemcacheV1beta2::Instance] instance_object
162
161
  # @param [String] instance_id
163
- # Required. The logical name of the Memcached instance in the user
164
- # project with the following restrictions:
165
- # * Must contain only lowercase letters, numbers, and hyphens.
166
- # * Must start with a letter.
167
- # * Must be between 1-40 characters.
168
- # * Must end with a number or a letter.
169
- # * Must be unique within the user project / location
162
+ # Required. The logical name of the Memcached instance in the user project with
163
+ # the following restrictions: * Must contain only lowercase letters, numbers,
164
+ # and hyphens. * Must start with a letter. * Must be between 1-40 characters. *
165
+ # Must end with a number or a letter. * Must be unique within the user project /
166
+ # location
170
167
  # @param [String] fields
171
168
  # Selector specifying which fields to include in a partial response.
172
169
  # @param [String] quota_user
@@ -199,9 +196,9 @@ module Google
199
196
 
200
197
  # Deletes a single Instance.
201
198
  # @param [String] name
202
- # Required. Memcached instance resource name in the format:
203
- # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
204
- # where `location_id` refers to a GCP region
199
+ # Required. Memcached instance resource name in the format: `projects/`
200
+ # project_id`/locations/`location_id`/instances/`instance_id`` where `
201
+ # location_id` refers to a GCP region
205
202
  # @param [String] fields
206
203
  # Selector specifying which fields to include in a partial response.
207
204
  # @param [String] quota_user
@@ -231,9 +228,9 @@ module Google
231
228
 
232
229
  # Gets details of a single Instance.
233
230
  # @param [String] name
234
- # Required. Memcached instance resource name in the format:
235
- # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
236
- # where `location_id` refers to a GCP region
231
+ # Required. Memcached instance resource name in the format: `projects/`
232
+ # project_id`/locations/`location_id`/instances/`instance_id`` where `
233
+ # location_id` refers to a GCP region
237
234
  # @param [String] fields
238
235
  # Selector specifying which fields to include in a partial response.
239
236
  # @param [String] quota_user
@@ -263,24 +260,21 @@ module Google
263
260
 
264
261
  # Lists Instances in a given project and location.
265
262
  # @param [String] parent
266
- # Required. The resource name of the instance location using the form:
267
- # `projects/`project_id`/locations/`location_id``
268
- # where `location_id` refers to a GCP region
263
+ # Required. The resource name of the instance location using the form: `projects/
264
+ # `project_id`/locations/`location_id`` where `location_id` refers to a GCP
265
+ # region
269
266
  # @param [String] filter
270
- # List filter. For example, exclude all Memcached instances with name as
271
- # my-instance by specifying "name != my-instance".
267
+ # List filter. For example, exclude all Memcached instances with name as my-
268
+ # instance by specifying "name != my-instance".
272
269
  # @param [String] order_by
273
270
  # Sort results. Supported values are "name", "name desc" or "" (unsorted).
274
271
  # @param [Fixnum] page_size
275
- # The maximum number of items to return.
276
- # If not specified, a default value of 1000 will be used by the service.
277
- # Regardless of the page_size value, the response may include a partial list
278
- # and a caller should only rely on response's
279
- # next_page_token
280
- # to determine if there are more instances left to be queried.
272
+ # The maximum number of items to return. If not specified, a default value of
273
+ # 1000 will be used by the service. Regardless of the page_size value, the
274
+ # response may include a partial list and a caller should only rely on response'
275
+ # s next_page_token to determine if there are more instances left to be queried.
281
276
  # @param [String] page_token
282
- # The next_page_token value returned from a previous List request,
283
- # if any.
277
+ # The next_page_token value returned from a previous List request, if any.
284
278
  # @param [String] fields
285
279
  # Selector specifying which fields to include in a partial response.
286
280
  # @param [String] quota_user
@@ -315,16 +309,14 @@ module Google
315
309
  # Updates an existing Instance in a given project and location.
316
310
  # @param [String] name
317
311
  # Required. Unique name of the resource in this scope including project and
318
- # location using the form:
319
- # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
320
- # Note: Memcached instances are managed and addressed at regional level so
321
- # location_id here refers to a GCP region; however, users may choose which
322
- # zones Memcached nodes within an instances should be provisioned in.
323
- # Refer to [zones] field for more details.
312
+ # location using the form: `projects/`project_id`/locations/`location_id`/
313
+ # instances/`instance_id`` Note: Memcached instances are managed and addressed
314
+ # at regional level so location_id here refers to a GCP region; however, users
315
+ # may choose which zones Memcached nodes within an instances should be
316
+ # provisioned in. Refer to [zones] field for more details.
324
317
  # @param [Google::Apis::MemcacheV1beta2::Instance] instance_object
325
318
  # @param [String] update_mask
326
- # Required. Mask of fields to update.
327
- # * `displayName`
319
+ # Required. Mask of fields to update. * `displayName`
328
320
  # @param [String] fields
329
321
  # Selector specifying which fields to include in a partial response.
330
322
  # @param [String] quota_user
@@ -355,13 +347,12 @@ module Google
355
347
  execute_or_queue_command(command, &block)
356
348
  end
357
349
 
358
- # Updates the defined Memcached Parameters for an existing Instance.
359
- # This method only stages the parameters, it must be followed by
360
- # ApplyParameters to apply the parameters to nodes of the Memcached Instance.
350
+ # Updates the defined Memcached Parameters for an existing Instance. This method
351
+ # only stages the parameters, it must be followed by ApplyParameters to apply
352
+ # the parameters to nodes of the Memcached Instance.
361
353
  # @param [String] name
362
354
  # Required. Resource name of the Memcached instance for which the parameters
363
- # should be
364
- # updated.
355
+ # should be updated.
365
356
  # @param [Google::Apis::MemcacheV1beta2::UpdateParametersRequest] update_parameters_request_object
366
357
  # @param [String] fields
367
358
  # Selector specifying which fields to include in a partial response.
@@ -392,15 +383,13 @@ module Google
392
383
  execute_or_queue_command(command, &block)
393
384
  end
394
385
 
395
- # Starts asynchronous cancellation on a long-running operation. The server
396
- # makes a best effort to cancel the operation, but success is not
397
- # guaranteed. If the server doesn't support this method, it returns
398
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
399
- # Operations.GetOperation or
400
- # other methods to check whether the cancellation succeeded or whether the
401
- # operation completed despite cancellation. On successful cancellation,
402
- # the operation is not deleted; instead, it becomes an operation with
403
- # an Operation.error value with a google.rpc.Status.code of 1,
386
+ # Starts asynchronous cancellation on a long-running operation. The server makes
387
+ # a best effort to cancel the operation, but success is not guaranteed. If the
388
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
389
+ # Clients can use Operations.GetOperation or other methods to check whether the
390
+ # cancellation succeeded or whether the operation completed despite cancellation.
391
+ # On successful cancellation, the operation is not deleted; instead, it becomes
392
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
404
393
  # corresponding to `Code.CANCELLED`.
405
394
  # @param [String] name
406
395
  # The name of the operation resource to be cancelled.
@@ -434,10 +423,10 @@ module Google
434
423
  execute_or_queue_command(command, &block)
435
424
  end
436
425
 
437
- # Deletes a long-running operation. This method indicates that the client is
438
- # no longer interested in the operation result. It does not cancel the
439
- # operation. If the server doesn't support this method, it returns
440
- # `google.rpc.Code.UNIMPLEMENTED`.
426
+ # Deletes a long-running operation. This method indicates that the client is no
427
+ # longer interested in the operation result. It does not cancel the operation.
428
+ # If the server doesn't support this method, it returns `google.rpc.Code.
429
+ # UNIMPLEMENTED`.
441
430
  # @param [String] name
442
431
  # The name of the operation resource to be deleted.
443
432
  # @param [String] fields
@@ -467,9 +456,8 @@ module Google
467
456
  execute_or_queue_command(command, &block)
468
457
  end
469
458
 
470
- # Gets the latest state of a long-running operation. Clients can use this
471
- # method to poll the operation result at intervals as recommended by the API
472
- # service.
459
+ # Gets the latest state of a long-running operation. Clients can use this method
460
+ # to poll the operation result at intervals as recommended by the API service.
473
461
  # @param [String] name
474
462
  # The name of the operation resource.
475
463
  # @param [String] fields
@@ -499,15 +487,14 @@ module Google
499
487
  execute_or_queue_command(command, &block)
500
488
  end
501
489
 
502
- # Lists operations that match the specified filter in the request. If the
503
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
504
- # NOTE: the `name` binding allows API services to override the binding
505
- # to use different resource name schemes, such as `users/*/operations`. To
506
- # override the binding, API services can add a binding such as
507
- # `"/v1/`name=users/*`/operations"` to their service configuration.
508
- # For backwards compatibility, the default name includes the operations
509
- # collection id, however overriding users must ensure the name binding
510
- # is the parent resource, without the operations collection id.
490
+ # Lists operations that match the specified filter in the request. If the server
491
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
492
+ # binding allows API services to override the binding to use different resource
493
+ # name schemes, such as `users/*/operations`. To override the binding, API
494
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
495
+ # service configuration. For backwards compatibility, the default name includes
496
+ # the operations collection id, however overriding users must ensure the name
497
+ # binding is the parent resource, without the operations collection id.
511
498
  # @param [String] name
512
499
  # The name of the operation's parent resource.
513
500
  # @param [String] filter
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/ml/
26
26
  module MlV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200714'
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
2461
  # Optional. The full name of the [Compute Engine network](/vpc/docs/vpc) to
2459
- # which the
2460
- # Job is peered. For example, `projects/12345/global/networks/myVPC`. The
2461
- # format of this field is `projects/`project`/global/networks/`network``,
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``,
2462
2464
  # where `project` is a project number (like `12345`) and `network` is network
2463
- # name.
2464
- # Private services access must already be configured for the network. If left
2465
- # unspecified, the Job is not peered with any network. [Learn about using VPC
2466
- # Network Peering.](/ai-platform/training/docs/vpc-peering).
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
@@ -2552,23 +2547,20 @@ module Google
2552
2547
  # Optional. The email address of a service account to use when running the
2553
2548
  # training appplication. You must have the `iam.serviceAccounts.actAs`
2554
2549
  # permission for the specified service account. In addition, the AI Platform
2555
- # Training Google-managed service account must have the
2556
- # `roles/iam.serviceAccountAdmin` role for the specified service account.
2557
- # [Learn more about configuring a service
2558
- # account.](/ai-platform/training/docs/custom-service-account)
2559
- # If not specified, the AI Platform Training Google-managed service account
2560
- # is used by default.
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.
2561
2555
  # Corresponds to the JSON property `serviceAccount`
2562
2556
  # @return [String]
2563
2557
  attr_accessor :service_account
2564
2558
 
2565
2559
  # Optional. Use `chief` instead of `master` in the `TF_CONFIG` environment
2566
2560
  # variable when training with a custom container. Defaults to `false`. [Learn
2567
- # more about this
2568
- # field.](/ai-platform/training/docs/distributed-training-details#chief-versus-
2569
- # master)
2570
- # This field has no effect for training jobs that don't use a custom
2571
- # container.
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.
2572
2564
  # Corresponds to the JSON property `useChiefInTfConfig`
2573
2565
  # @return [Boolean]
2574
2566
  attr_accessor :use_chief_in_tf_config
@@ -2580,27 +2572,22 @@ module Google
2580
2572
  attr_accessor :worker_config
2581
2573
 
2582
2574
  # Optional. The number of worker replicas to use for the training job. Each
2583
- # replica in the cluster will be of the type specified in `worker_type`.
2584
- # This value can only be used when `scale_tier` is set to `CUSTOM`. If you
2585
- # set this value, you must also set `worker_type`.
2586
- # The default value is zero.
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.
2587
2578
  # Corresponds to the JSON property `workerCount`
2588
2579
  # @return [Fixnum]
2589
2580
  attr_accessor :worker_count
2590
2581
 
2591
- # Optional. Specifies the type of virtual machine to use for your training
2592
- # job's worker nodes.
2593
- # The supported values are the same as those described in the entry for
2594
- # `masterType`.
2595
- # This value must be consistent with the category of machine type that
2596
- # `masterType` uses. In other words, both must be Compute Engine machine
2597
- # types or both must be legacy machine types.
2598
- # If you use `cloud_tpu` for this value, see special instructions for
2599
- # [configuring a custom TPU
2600
- # machine](/ml-engine/docs/tensorflow/using-tpus#
2601
- # configuring_a_custom_tpu_machine).
2602
- # This value must be present when `scaleTier` is set to `CUSTOM` and
2603
- # `workerCount` is greater than zero.
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.
2604
2591
  # Corresponds to the JSON property `workerType`
2605
2592
  # @return [String]
2606
2593
  attr_accessor :worker_type
@@ -2648,8 +2635,8 @@ module Google
2648
2635
  # @return [Google::Apis::MlV1::GoogleCloudMlV1BuiltInAlgorithmOutput]
2649
2636
  attr_accessor :built_in_algorithm_output
2650
2637
 
2651
- # The number of hyperparameter tuning trials that completed successfully.
2652
- # Only set for hyperparameter tuning jobs.
2638
+ # The number of hyperparameter tuning trials that completed successfully. Only
2639
+ # set for hyperparameter tuning jobs.
2653
2640
  # Corresponds to the JSON property `completedTrialCount`
2654
2641
  # @return [Fixnum]
2655
2642
  attr_accessor :completed_trial_count
@@ -2660,10 +2647,9 @@ module Google
2660
2647
  attr_accessor :consumed_ml_units
2661
2648
 
2662
2649
  # The TensorFlow summary tag name used for optimizing hyperparameter tuning
2663
- # trials. See
2664
- # [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.FIELDS.
2665
- # hyperparameter_metric_tag)
2666
- # for more information. Only set for hyperparameter tuning jobs.
2650
+ # trials. See [`HyperparameterSpec.hyperparameterMetricTag`](#HyperparameterSpec.
2651
+ # FIELDS.hyperparameter_metric_tag) for more information. Only set for
2652
+ # hyperparameter tuning jobs.
2667
2653
  # Corresponds to the JSON property `hyperparameterMetricTag`
2668
2654
  # @return [String]
2669
2655
  attr_accessor :hyperparameter_metric_tag
@@ -2680,8 +2666,8 @@ module Google
2680
2666
  attr_accessor :is_hyperparameter_tuning_job
2681
2667
  alias_method :is_hyperparameter_tuning_job?, :is_hyperparameter_tuning_job
2682
2668
 
2683
- # Results for individual Hyperparameter trials.
2684
- # Only set for hyperparameter tuning jobs.
2669
+ # Results for individual Hyperparameter trials. Only set for hyperparameter
2670
+ # tuning jobs.
2685
2671
  # Corresponds to the JSON property `trials`
2686
2672
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1HyperparameterOutput>]
2687
2673
  attr_accessor :trials
@@ -2721,15 +2707,15 @@ module Google
2721
2707
  # @return [Google::Apis::MlV1::GoogleCloudMlV1Measurement]
2722
2708
  attr_accessor :final_measurement
2723
2709
 
2724
- # Output only. A human readable string describing why the trial is
2725
- # 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.
2726
2712
  # Corresponds to the JSON property `infeasibleReason`
2727
2713
  # @return [String]
2728
2714
  attr_accessor :infeasible_reason
2729
2715
 
2730
- # A list of measurements that are strictly lexicographically
2731
- # ordered by their induced tuples (steps, elapsed_time).
2732
- # These are used for early stopping computations.
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.
2733
2719
  # Corresponds to the JSON property `measurements`
2734
2720
  # @return [Array<Google::Apis::MlV1::GoogleCloudMlV1Measurement>]
2735
2721
  attr_accessor :measurements
@@ -2779,19 +2765,17 @@ module Google
2779
2765
  end
2780
2766
  end
2781
2767
 
2782
- # Represents a version of the model.
2783
- # Each version is a trained model deployed in the cloud, ready to handle
2784
- # prediction requests. A model can have multiple versions. You can get
2785
- # information about all of the versions of a given model by calling
2786
- # projects.models.versions.list.
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.
2787
2772
  class GoogleCloudMlV1Version
2788
2773
  include Google::Apis::Core::Hashable
2789
2774
 
2790
- # Represents a hardware accelerator request config.
2791
- # Note that the AcceleratorConfig can be used in both Jobs and Versions.
2792
- # Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
2793
- # [accelerators for online
2794
- # prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
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).
2795
2779
  # Corresponds to the JSON property `acceleratorConfig`
2796
2780
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
2797
2781
  attr_accessor :accelerator_config
@@ -2801,21 +2785,24 @@ module Google
2801
2785
  # @return [Google::Apis::MlV1::GoogleCloudMlV1AutoScaling]
2802
2786
  attr_accessor :auto_scaling
2803
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
+
2804
2795
  # Output only. The time the version was created.
2805
2796
  # Corresponds to the JSON property `createTime`
2806
2797
  # @return [String]
2807
2798
  attr_accessor :create_time
2808
2799
 
2809
- # Required. The Cloud Storage location of the trained model used to
2810
- # create the version. See the
2811
- # [guide to model
2812
- # deployment](/ml-engine/docs/tensorflow/deploying-models) for more
2813
- # information.
2814
- # When passing Version to
2815
- # projects.models.versions.create
2816
- # the model service uses the specified location as the source of the model.
2817
- # Once deployed, the model version is hosted by the prediction service, so
2818
- # this location is useful only as a historical record.
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.
2819
2806
  # The total number of model files can't exceed 1000.
2820
2807
  # Corresponds to the JSON property `deploymentUri`
2821
2808
  # @return [String]
@@ -2831,57 +2818,52 @@ module Google
2831
2818
  # @return [String]
2832
2819
  attr_accessor :error_message
2833
2820
 
2834
- # `etag` is used for optimistic concurrency control as a way to help
2835
- # prevent simultaneous updates of a model from overwriting each other.
2836
- # It is strongly suggested that systems make use of the `etag` in the
2837
- # read-modify-write cycle to perform model updates in order to avoid race
2838
- # conditions: An `etag` is returned in the response to `GetVersion`, and
2839
- # systems are expected to put that etag in the request to `UpdateVersion` to
2840
- # ensure that their change will be applied to the model as intended.
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.
2841
2828
  # Corresponds to the JSON property `etag`
2842
2829
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2843
2830
  # @return [String]
2844
2831
  attr_accessor :etag
2845
2832
 
2846
- # Message holding configuration options for explaining model predictions.
2847
- # There are two feature attribution methods supported for TensorFlow models:
2848
- # integrated gradients and sampled Shapley.
2849
- # [Learn more about feature
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
2850
2836
  # attributions.](/ai-platform/prediction/docs/ai-explanations/overview)
2851
2837
  # Corresponds to the JSON property `explanationConfig`
2852
2838
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig]
2853
2839
  attr_accessor :explanation_config
2854
2840
 
2855
- # Optional. The machine learning framework AI Platform uses to train
2856
- # this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
2857
- # `XGBOOST`. If you do not specify a framework, AI Platform
2858
- # will analyze files in the deployment_uri to determine a framework. If you
2859
- # choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version
2860
- # of the model to 1.4 or greater.
2861
- # Do **not** specify a framework if you're deploying a [custom
2862
- # prediction routine](/ml-engine/docs/tensorflow/custom-prediction-routines).
2863
- # If you specify a [Compute Engine (N1) machine
2864
- # type](/ml-engine/docs/machine-types-online-prediction) in the
2865
- # `machineType` field, you must specify `TENSORFLOW`
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`
2866
2850
  # for the framework.
2867
2851
  # Corresponds to the JSON property `framework`
2868
2852
  # @return [String]
2869
2853
  attr_accessor :framework
2870
2854
 
2871
- # Output only. If true, this version will be used to handle prediction
2872
- # requests that do not specify a version.
2873
- # You can change the default version by calling
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
2874
2857
  # projects.methods.versions.setDefault.
2875
2858
  # Corresponds to the JSON property `isDefault`
2876
2859
  # @return [Boolean]
2877
2860
  attr_accessor :is_default
2878
2861
  alias_method :is_default?, :is_default
2879
2862
 
2880
- # Optional. One or more labels that you can add, to organize your model
2881
- # versions. Each label is a key-value pair, where both the key and the value
2882
- # are arbitrary strings that you supply.
2883
- # For more information, see the documentation on
2884
- # <a href="/ml-engine/docs/tensorflow/resource-labels">using labels</a>.
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.
2885
2867
  # Corresponds to the JSON property `labels`
2886
2868
  # @return [Hash<String,String>]
2887
2869
  attr_accessor :labels
@@ -2893,28 +2875,14 @@ module Google
2893
2875
 
2894
2876
  # Optional. The type of machine on which to serve the model. Currently only
2895
2877
  # applies to online prediction service. If this field is not specified, it
2896
- # defaults to `mls1-c1-m2`.
2897
- # Online prediction supports the following machine types:
2898
- # * `mls1-c1-m2`
2899
- # * `mls1-c4-m2`
2900
- # * `n1-standard-2`
2901
- # * `n1-standard-4`
2902
- # * `n1-standard-8`
2903
- # * `n1-standard-16`
2904
- # * `n1-standard-32`
2905
- # * `n1-highmem-2`
2906
- # * `n1-highmem-4`
2907
- # * `n1-highmem-8`
2908
- # * `n1-highmem-16`
2909
- # * `n1-highmem-32`
2910
- # * `n1-highcpu-2`
2911
- # * `n1-highcpu-4`
2912
- # * `n1-highcpu-8`
2913
- # * `n1-highcpu-16`
2914
- # * `n1-highcpu-32`
2915
- # `mls1-c1-m2` is generally available. All other machine types are available
2916
- # in beta. Learn more about the [differences between machine
2917
- # types](/ml-engine/docs/machine-types-online-prediction).
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).
2918
2886
  # Corresponds to the JSON property `machineType`
2919
2887
  # @return [String]
2920
2888
  attr_accessor :machine_type
@@ -2924,108 +2892,88 @@ module Google
2924
2892
  # @return [Google::Apis::MlV1::GoogleCloudMlV1ManualScaling]
2925
2893
  attr_accessor :manual_scaling
2926
2894
 
2927
- # Required. The name specified for the version when it was created.
2928
- # The version name must be unique within the model it is created in.
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.
2929
2897
  # Corresponds to the JSON property `name`
2930
2898
  # @return [String]
2931
2899
  attr_accessor :name
2932
2900
 
2933
- # Optional. Cloud Storage paths (`gs://…`) of packages for [custom
2934
- # prediction routines](/ml-engine/docs/tensorflow/custom-prediction-routines)
2935
- # or [scikit-learn pipelines with custom
2936
- # code](/ml-engine/docs/scikit/exporting-for-prediction#custom-pipeline-code).
2937
- # For a custom prediction routine, one of these packages must contain your
2938
- # Predictor class (see
2939
- # [`predictionClass`](#Version.FIELDS.prediction_class)). Additionally,
2940
- # include any dependencies used by your Predictor or scikit-learn pipeline
2941
- # uses that are not already included in your selected [runtime
2942
- # version](/ml-engine/docs/tensorflow/runtime-version-list).
2943
- # If you specify this field, you must also set
2944
- # [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater.
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.
2945
2911
  # Corresponds to the JSON property `packageUris`
2946
2912
  # @return [Array<String>]
2947
2913
  attr_accessor :package_uris
2948
2914
 
2949
- # Optional. The fully qualified name
2950
- # (<var>module_name</var>.<var>class_name</var>) of a class that implements
2951
- # the Predictor interface described in this reference field. The module
2952
- # containing this class should be included in a package provided to the
2953
- # [`packageUris` field](#Version.FIELDS.package_uris).
2954
- # Specify this field if and only if you are deploying a [custom prediction
2955
- # routine (beta)](/ml-engine/docs/tensorflow/custom-prediction-routines).
2956
- # If you specify this field, you must set
2957
- # [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and
2958
- # you must set `machineType` to a [legacy (MLS1)
2959
- # machine type](/ml-engine/docs/machine-types-online-prediction).
2960
- # The following code sample provides the Predictor interface:
2961
- # <pre style="max-width: 626px;">
2962
- # class Predictor(object):
2963
- # """Interface for constructing custom predictors."""
2964
- # def predict(self, instances, **kwargs):
2965
- # """Performs custom prediction.
2966
- # Instances are the decoded values from the request. They have already
2967
- # been deserialized from JSON.
2968
- # Args:
2969
- # instances: A list of prediction input instances.
2970
- # **kwargs: A dictionary of keyword args provided as additional
2971
- # fields on the predict request body.
2972
- # Returns:
2973
- # A list of outputs containing the prediction results. This list must
2974
- # be JSON serializable.
2975
- # """
2976
- # raise NotImplementedError()
2977
- # @classmethod
2978
- # def from_path(cls, model_dir):
2979
- # """Creates an instance of Predictor using the given path.
2980
- # Loading of the predictor should be done in this method.
2981
- # Args:
2982
- # model_dir: The local directory that contains the exported model
2983
- # file along with any additional files uploaded when creating the
2984
- # version resource.
2985
- # Returns:
2986
- # An instance implementing this Predictor class.
2987
- # """
2988
- # raise NotImplementedError()
2989
- # </pre>
2990
- # Learn more about [the Predictor interface and custom prediction
2991
- # routines](/ml-engine/docs/tensorflow/custom-prediction-routines).
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).
2992
2939
  # Corresponds to the JSON property `predictionClass`
2993
2940
  # @return [String]
2994
2941
  attr_accessor :prediction_class
2995
2942
 
2996
- # Required. The version of Python used in prediction.
2997
- # The following Python versions are available:
2998
- # * Python '3.7' is available when `runtime_version` is set to '1.15' or
2999
- # later.
3000
- # * Python '3.5' is available when `runtime_version` is set to a version
3001
- # from '1.4' to '1.14'.
3002
- # * Python '2.7' is available when `runtime_version` is set to '1.15' or
3003
- # earlier.
3004
- # Read more about the Python versions available for [each runtime
3005
- # version](/ml-engine/docs/runtime-version-list).
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).
3006
2950
  # Corresponds to the JSON property `pythonVersion`
3007
2951
  # @return [String]
3008
2952
  attr_accessor :python_version
3009
2953
 
3010
- # Configuration for logging request-response pairs to a BigQuery table.
3011
- # Online prediction requests to a model version and the responses to these
3012
- # requests are converted to raw strings and saved to the specified BigQuery
3013
- # table. Logging is constrained by [BigQuery quotas and
3014
- # limits](/bigquery/quotas). If your project exceeds BigQuery quotas or limits,
3015
- # AI Platform Prediction does not log request-response pairs, but it continues
3016
- # to serve predictions.
3017
- # If you are using [continuous
3018
- # evaluation](/ml-engine/docs/continuous-evaluation/), you do not need to
3019
- # specify this configuration manually. Setting up continuous evaluation
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
3020
2962
  # automatically enables logging of request-response pairs.
3021
2963
  # Corresponds to the JSON property `requestLoggingConfig`
3022
2964
  # @return [Google::Apis::MlV1::GoogleCloudMlV1RequestLoggingConfig]
3023
2965
  attr_accessor :request_logging_config
3024
2966
 
3025
- # Required. The AI Platform runtime version to use for this deployment.
3026
- # For more information, see the
3027
- # [runtime version list](/ml-engine/docs/runtime-version-list) and
3028
- # [how to manage runtime versions](/ml-engine/docs/versioning).
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).
3029
2977
  # Corresponds to the JSON property `runtimeVersion`
3030
2978
  # @return [String]
3031
2979
  attr_accessor :runtime_version
@@ -3048,6 +2996,7 @@ module Google
3048
2996
  def update!(**args)
3049
2997
  @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config)
3050
2998
  @auto_scaling = args[:auto_scaling] if args.key?(:auto_scaling)
2999
+ @container = args[:container] if args.key?(:container)
3051
3000
  @create_time = args[:create_time] if args.key?(:create_time)
3052
3001
  @deployment_uri = args[:deployment_uri] if args.key?(:deployment_uri)
3053
3002
  @description = args[:description] if args.key?(:description)
@@ -3065,22 +3014,23 @@ module Google
3065
3014
  @prediction_class = args[:prediction_class] if args.key?(:prediction_class)
3066
3015
  @python_version = args[:python_version] if args.key?(:python_version)
3067
3016
  @request_logging_config = args[:request_logging_config] if args.key?(:request_logging_config)
3017
+ @routes = args[:routes] if args.key?(:routes)
3068
3018
  @runtime_version = args[:runtime_version] if args.key?(:runtime_version)
3069
3019
  @service_account = args[:service_account] if args.key?(:service_account)
3070
3020
  @state = args[:state] if args.key?(:state)
3071
3021
  end
3072
3022
  end
3073
3023
 
3074
- # Attributes credit by computing the XRAI taking advantage
3075
- # of the model's fully differentiable structure. Refer to this paper for
3076
- # more details: https://arxiv.org/abs/1906.02825
3077
- # Currently only implemented for models with natural image inputs.
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.
3078
3028
  class GoogleCloudMlV1XraiAttribution
3079
3029
  include Google::Apis::Core::Hashable
3080
3030
 
3081
- # Number of steps for approximating the path integral.
3082
- # A good value to start is 50 and gradually increase until the
3083
- # sum to diff property is met within the desired error range.
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.
3084
3034
  # Corresponds to the JSON property `numIntegralSteps`
3085
3035
  # @return [Fixnum]
3086
3036
  attr_accessor :num_integral_steps
@@ -3095,53 +3045,21 @@ module Google
3095
3045
  end
3096
3046
  end
3097
3047
 
3098
- # Specifies the audit configuration for a service.
3099
- # The configuration determines which permission types are logged, and what
3100
- # identities, if any, are exempted from logging.
3101
- # An AuditConfig must have one or more AuditLogConfigs.
3102
- # If there are AuditConfigs for both `allServices` and a specific service,
3103
- # the union of the two AuditConfigs is used for that service: the log_types
3104
- # specified in each AuditConfig are enabled, and the exempted_members in each
3105
- # AuditLogConfig are exempted.
3106
- # Example Policy with multiple AuditConfigs:
3107
- # `
3108
- # "audit_configs": [
3109
- # `
3110
- # "service": "allServices",
3111
- # "audit_log_configs": [
3112
- # `
3113
- # "log_type": "DATA_READ",
3114
- # "exempted_members": [
3115
- # "user:jose@example.com"
3116
- # ]
3117
- # `,
3118
- # `
3119
- # "log_type": "DATA_WRITE"
3120
- # `,
3121
- # `
3122
- # "log_type": "ADMIN_READ"
3123
- # `
3124
- # ]
3125
- # `,
3126
- # `
3127
- # "service": "sampleservice.googleapis.com",
3128
- # "audit_log_configs": [
3129
- # `
3130
- # "log_type": "DATA_READ"
3131
- # `,
3132
- # `
3133
- # "log_type": "DATA_WRITE",
3134
- # "exempted_members": [
3135
- # "user:aliya@example.com"
3136
- # ]
3137
- # `
3138
- # ]
3139
- # `
3140
- # ]
3141
- # `
3142
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
3143
- # logging. It also exempts jose@example.com from DATA_READ logging, and
3144
- # aliya@example.com from DATA_WRITE logging.
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.
3145
3063
  class GoogleIamV1AuditConfig
3146
3064
  include Google::Apis::Core::Hashable
3147
3065
 
@@ -3150,9 +3068,9 @@ module Google
3150
3068
  # @return [Array<Google::Apis::MlV1::GoogleIamV1AuditLogConfig>]
3151
3069
  attr_accessor :audit_log_configs
3152
3070
 
3153
- # Specifies a service that will be enabled for audit logging.
3154
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
3155
- # `allServices` is a special value that covers all services.
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.
3156
3074
  # Corresponds to the JSON property `service`
3157
3075
  # @return [String]
3158
3076
  attr_accessor :service
@@ -3168,28 +3086,15 @@ module Google
3168
3086
  end
3169
3087
  end
3170
3088
 
3171
- # Provides the configuration for logging a type of permissions.
3172
- # Example:
3173
- # `
3174
- # "audit_log_configs": [
3175
- # `
3176
- # "log_type": "DATA_READ",
3177
- # "exempted_members": [
3178
- # "user:jose@example.com"
3179
- # ]
3180
- # `,
3181
- # `
3182
- # "log_type": "DATA_WRITE"
3183
- # `
3184
- # ]
3185
- # `
3186
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
3187
- # jose@example.com from DATA_READ logging.
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.
3188
3094
  class GoogleIamV1AuditLogConfig
3189
3095
  include Google::Apis::Core::Hashable
3190
3096
 
3191
- # Specifies the identities that do not cause logging for this type of
3192
- # permission.
3097
+ # Specifies the identities that do not cause logging for this type of permission.
3193
3098
  # Follows the same format of Binding.members.
3194
3099
  # Corresponds to the JSON property `exemptedMembers`
3195
3100
  # @return [Array<String>]
@@ -3215,69 +3120,57 @@ module Google
3215
3120
  class GoogleIamV1Binding
3216
3121
  include Google::Apis::Core::Hashable
3217
3122
 
3218
- # Represents a textual expression in the Common Expression Language (CEL)
3219
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
3220
- # are documented at https://github.com/google/cel-spec.
3221
- # Example (Comparison):
3222
- # title: "Summary size limit"
3223
- # description: "Determines if a summary is less than 100 chars"
3224
- # expression: "document.summary.size() < 100"
3225
- # Example (Equality):
3226
- # title: "Requestor is owner"
3227
- # description: "Determines if requestor is the document owner"
3228
- # expression: "document.owner == request.auth.claims.email"
3229
- # Example (Logic):
3230
- # title: "Public documents"
3231
- # description: "Determine whether the document should be publicly visible"
3232
- # expression: "document.type != 'private' && document.type != 'internal'"
3233
- # Example (Data Manipulation):
3234
- # title: "Notification string"
3235
- # description: "Create a notification string with a timestamp."
3236
- # expression: "'New message received at ' + string(document.create_time)"
3237
- # The exact variables and functions that may be referenced within an expression
3238
- # are determined by the service that evaluates it. See the service
3239
- # documentation for additional information.
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.
3240
3138
  # Corresponds to the JSON property `condition`
3241
3139
  # @return [Google::Apis::MlV1::GoogleTypeExpr]
3242
3140
  attr_accessor :condition
3243
3141
 
3244
- # Specifies the identities requesting access for a Cloud Platform resource.
3245
- # `members` can have the following values:
3246
- # * `allUsers`: A special identifier that represents anyone who is
3247
- # on the internet; with or without a Google account.
3248
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
3249
- # who is authenticated with a Google account or a service account.
3250
- # * `user:`emailid``: An email address that represents a specific Google
3251
- # account. For example, `alice@example.com` .
3252
- # * `serviceAccount:`emailid``: An email address that represents a service
3253
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
3254
- # * `group:`emailid``: An email address that represents a Google group.
3255
- # For example, `admins@example.com`.
3256
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
3257
- # identifier) representing a user that has been recently deleted. For
3258
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
3259
- # recovered, this value reverts to `user:`emailid`` and the recovered user
3260
- # retains the role in the binding.
3261
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
3262
- # unique identifier) representing a service account that has been recently
3263
- # deleted. For example,
3264
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
3265
- # If the service account is undeleted, this value reverts to
3266
- # `serviceAccount:`emailid`` and the undeleted service account retains the
3267
- # role in the binding.
3268
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
3269
- # identifier) representing a Google group that has been recently
3270
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
3271
- # the group is recovered, this value reverts to `group:`emailid`` and the
3272
- # recovered group retains the role in the binding.
3273
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
3274
- # users of that domain. For example, `google.com` or `example.com`.
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`.
3275
3168
  # Corresponds to the JSON property `members`
3276
3169
  # @return [Array<String>]
3277
3170
  attr_accessor :members
3278
3171
 
3279
- # Role that is assigned to `members`.
3280
- # 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`.
3281
3174
  # Corresponds to the JSON property `role`
3282
3175
  # @return [String]
3283
3176
  attr_accessor :role
@@ -3295,66 +3188,32 @@ module Google
3295
3188
  end
3296
3189
 
3297
3190
  # An Identity and Access Management (IAM) policy, which specifies access
3298
- # controls for Google Cloud resources.
3299
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3300
- # `members` to a single `role`. Members can be user accounts, service accounts,
3301
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3302
- # permissions; each `role` can be an IAM predefined role or a user-created
3303
- # custom role.
3304
- # For some types of Google Cloud resources, a `binding` can also specify a
3305
- # `condition`, which is a logical expression that allows access to a resource
3306
- # only if the expression evaluates to `true`. A condition can add constraints
3307
- # based on attributes of the request, the resource, or both. To learn which
3308
- # resources support conditions in their IAM policies, see the
3309
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3310
- # policies).
3311
- # **JSON example:**
3312
- # `
3313
- # "bindings": [
3314
- # `
3315
- # "role": "roles/resourcemanager.organizationAdmin",
3316
- # "members": [
3317
- # "user:mike@example.com",
3318
- # "group:admins@example.com",
3319
- # "domain:google.com",
3320
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3321
- # ]
3322
- # `,
3323
- # `
3324
- # "role": "roles/resourcemanager.organizationViewer",
3325
- # "members": [
3326
- # "user:eve@example.com"
3327
- # ],
3328
- # "condition": `
3329
- # "title": "expirable access",
3330
- # "description": "Does not grant access after Sep 2020",
3331
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3332
- # ",
3333
- # `
3334
- # `
3335
- # ],
3336
- # "etag": "BwWWja0YfJA=",
3337
- # "version": 3
3338
- # `
3339
- # **YAML example:**
3340
- # bindings:
3341
- # - members:
3342
- # - user:mike@example.com
3343
- # - group:admins@example.com
3344
- # - domain:google.com
3345
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3346
- # role: roles/resourcemanager.organizationAdmin
3347
- # - members:
3348
- # - user:eve@example.com
3349
- # role: roles/resourcemanager.organizationViewer
3350
- # condition:
3351
- # title: expirable access
3352
- # description: Does not grant access after Sep 2020
3353
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3354
- # - etag: BwWWja0YfJA=
3355
- # - version: 3
3356
- # For a description of IAM and its features, see the
3357
- # [IAM documentation](https://cloud.google.com/iam/docs/).
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/).
3358
3217
  class GoogleIamV1Policy
3359
3218
  include Google::Apis::Core::Hashable
3360
3219
 
@@ -3363,48 +3222,44 @@ module Google
3363
3222
  # @return [Array<Google::Apis::MlV1::GoogleIamV1AuditConfig>]
3364
3223
  attr_accessor :audit_configs
3365
3224
 
3366
- # Associates a list of `members` to a `role`. Optionally, may specify a
3367
- # `condition` that determines how and when the `bindings` are applied. Each
3368
- # of the `bindings` must contain at least one member.
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.
3369
3228
  # Corresponds to the JSON property `bindings`
3370
3229
  # @return [Array<Google::Apis::MlV1::GoogleIamV1Binding>]
3371
3230
  attr_accessor :bindings
3372
3231
 
3373
- # `etag` is used for optimistic concurrency control as a way to help
3374
- # prevent simultaneous updates of a policy from overwriting each other.
3375
- # It is strongly suggested that systems make use of the `etag` in the
3376
- # read-modify-write cycle to perform policy updates in order to avoid race
3377
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
3378
- # systems are expected to put that etag in the request to `setIamPolicy` to
3379
- # ensure that their change will be applied to the same version of the policy.
3380
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3381
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3382
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3383
- # the conditions in the version `3` policy are lost.
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.
3384
3243
  # Corresponds to the JSON property `etag`
3385
3244
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3386
3245
  # @return [String]
3387
3246
  attr_accessor :etag
3388
3247
 
3389
- # Specifies the format of the policy.
3390
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3391
- # are rejected.
3392
- # Any operation that affects conditional role bindings must specify version
3393
- # `3`. This requirement applies to the following operations:
3394
- # * Getting a policy that includes a conditional role binding
3395
- # * Adding a conditional role binding to a policy
3396
- # * Changing a conditional role binding in a policy
3397
- # * Removing any role binding, with or without a condition, from a policy
3398
- # that includes conditions
3399
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3400
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3401
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3402
- # the conditions in the version `3` policy are lost.
3403
- # If a policy does not include any conditions, operations on that policy may
3404
- # specify any valid version or leave the field unset.
3405
- # To learn which resources support conditions in their IAM policies, see the
3406
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3407
- # policies).
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).
3408
3263
  # Corresponds to the JSON property `version`
3409
3264
  # @return [Fixnum]
3410
3265
  attr_accessor :version
@@ -3427,74 +3282,39 @@ module Google
3427
3282
  include Google::Apis::Core::Hashable
3428
3283
 
3429
3284
  # An Identity and Access Management (IAM) policy, which specifies access
3430
- # controls for Google Cloud resources.
3431
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3432
- # `members` to a single `role`. Members can be user accounts, service accounts,
3433
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3434
- # permissions; each `role` can be an IAM predefined role or a user-created
3435
- # custom role.
3436
- # For some types of Google Cloud resources, a `binding` can also specify a
3437
- # `condition`, which is a logical expression that allows access to a resource
3438
- # only if the expression evaluates to `true`. A condition can add constraints
3439
- # based on attributes of the request, the resource, or both. To learn which
3440
- # resources support conditions in their IAM policies, see the
3441
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3442
- # policies).
3443
- # **JSON example:**
3444
- # `
3445
- # "bindings": [
3446
- # `
3447
- # "role": "roles/resourcemanager.organizationAdmin",
3448
- # "members": [
3449
- # "user:mike@example.com",
3450
- # "group:admins@example.com",
3451
- # "domain:google.com",
3452
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3453
- # ]
3454
- # `,
3455
- # `
3456
- # "role": "roles/resourcemanager.organizationViewer",
3457
- # "members": [
3458
- # "user:eve@example.com"
3459
- # ],
3460
- # "condition": `
3461
- # "title": "expirable access",
3462
- # "description": "Does not grant access after Sep 2020",
3463
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3464
- # ",
3465
- # `
3466
- # `
3467
- # ],
3468
- # "etag": "BwWWja0YfJA=",
3469
- # "version": 3
3470
- # `
3471
- # **YAML example:**
3472
- # bindings:
3473
- # - members:
3474
- # - user:mike@example.com
3475
- # - group:admins@example.com
3476
- # - domain:google.com
3477
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3478
- # role: roles/resourcemanager.organizationAdmin
3479
- # - members:
3480
- # - user:eve@example.com
3481
- # role: roles/resourcemanager.organizationViewer
3482
- # condition:
3483
- # title: expirable access
3484
- # description: Does not grant access after Sep 2020
3485
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3486
- # - etag: BwWWja0YfJA=
3487
- # - version: 3
3488
- # For a description of IAM and its features, see the
3489
- # [IAM documentation](https://cloud.google.com/iam/docs/).
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/).
3490
3311
  # Corresponds to the JSON property `policy`
3491
3312
  # @return [Google::Apis::MlV1::GoogleIamV1Policy]
3492
3313
  attr_accessor :policy
3493
3314
 
3494
3315
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3495
- # the fields in the mask will be modified. If no mask is provided, the
3496
- # following default mask is used:
3497
- # `paths: "bindings, etag"`
3316
+ # the fields in the mask will be modified. If no mask is provided, the following
3317
+ # default mask is used: `paths: "bindings, etag"`
3498
3318
  # Corresponds to the JSON property `updateMask`
3499
3319
  # @return [String]
3500
3320
  attr_accessor :update_mask
@@ -3514,10 +3334,9 @@ module Google
3514
3334
  class GoogleIamV1TestIamPermissionsRequest
3515
3335
  include Google::Apis::Core::Hashable
3516
3336
 
3517
- # The set of permissions to check for the `resource`. Permissions with
3518
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
3519
- # information see
3520
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
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).
3521
3340
  # Corresponds to the JSON property `permissions`
3522
3341
  # @return [Array<String>]
3523
3342
  attr_accessor :permissions
@@ -3536,8 +3355,7 @@ module Google
3536
3355
  class GoogleIamV1TestIamPermissionsResponse
3537
3356
  include Google::Apis::Core::Hashable
3538
3357
 
3539
- # A subset of `TestPermissionsRequest.permissions` that the caller is
3540
- # allowed.
3358
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
3541
3359
  # Corresponds to the JSON property `permissions`
3542
3360
  # @return [Array<String>]
3543
3361
  attr_accessor :permissions
@@ -3582,47 +3400,45 @@ module Google
3582
3400
  class GoogleLongrunningOperation
3583
3401
  include Google::Apis::Core::Hashable
3584
3402
 
3585
- # If the value is `false`, it means the operation is still in progress.
3586
- # If `true`, the operation is completed, and either `error` or `response` is
3587
- # available.
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.
3588
3405
  # Corresponds to the JSON property `done`
3589
3406
  # @return [Boolean]
3590
3407
  attr_accessor :done
3591
3408
  alias_method :done?, :done
3592
3409
 
3593
- # The `Status` type defines a logical error model that is suitable for
3594
- # different programming environments, including REST APIs and RPC APIs. It is
3595
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3596
- # three pieces of data: error code, error message, and error details.
3597
- # You can find out more about this error model and how to work with it in the
3598
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
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).
3599
3416
  # Corresponds to the JSON property `error`
3600
3417
  # @return [Google::Apis::MlV1::GoogleRpcStatus]
3601
3418
  attr_accessor :error
3602
3419
 
3603
- # Service-specific metadata associated with the operation. It typically
3604
- # contains progress information and common metadata such as create time.
3605
- # Some services might not provide such metadata. Any method that returns a
3606
- # long-running operation should document the metadata type, if any.
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.
3607
3424
  # Corresponds to the JSON property `metadata`
3608
3425
  # @return [Hash<String,Object>]
3609
3426
  attr_accessor :metadata
3610
3427
 
3611
3428
  # The server-assigned name, which is only unique within the same service that
3612
- # originally returns it. If you use the default HTTP mapping, the
3613
- # `name` should be a resource name ending with `operations/`unique_id``.
3429
+ # originally returns it. If you use the default HTTP mapping, the `name` should
3430
+ # be a resource name ending with `operations/`unique_id``.
3614
3431
  # Corresponds to the JSON property `name`
3615
3432
  # @return [String]
3616
3433
  attr_accessor :name
3617
3434
 
3618
- # The normal response of the operation in case of success. If the original
3619
- # method returns no data on success, such as `Delete`, the response is
3620
- # `google.protobuf.Empty`. If the original method is standard
3621
- # `Get`/`Create`/`Update`, the response should be the resource. For other
3622
- # methods, the response should have the type `XxxResponse`, where `Xxx`
3623
- # is the original method name. For example, if the original method name
3624
- # is `TakeSnapshot()`, the inferred response type is
3625
- # `TakeSnapshotResponse`.
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`.
3626
3442
  # Corresponds to the JSON property `response`
3627
3443
  # @return [Hash<String,Object>]
3628
3444
  attr_accessor :response
@@ -3641,13 +3457,11 @@ module Google
3641
3457
  end
3642
3458
  end
3643
3459
 
3644
- # A generic empty message that you can re-use to avoid defining duplicated
3645
- # empty messages in your APIs. A typical example is to use it as the request
3646
- # or the response type of an API method. For instance:
3647
- # service Foo `
3648
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
3649
- # `
3650
- # The JSON representation for `Empty` is empty JSON object ````.
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 ````.
3651
3465
  class GoogleProtobufEmpty
3652
3466
  include Google::Apis::Core::Hashable
3653
3467
 
@@ -3660,12 +3474,12 @@ module Google
3660
3474
  end
3661
3475
  end
3662
3476
 
3663
- # The `Status` type defines a logical error model that is suitable for
3664
- # different programming environments, including REST APIs and RPC APIs. It is
3665
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3666
- # three pieces of data: error code, error message, and error details.
3667
- # You can find out more about this error model and how to work with it in the
3668
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
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).
3669
3483
  class GoogleRpcStatus
3670
3484
  include Google::Apis::Core::Hashable
3671
3485
 
@@ -3674,15 +3488,15 @@ module Google
3674
3488
  # @return [Fixnum]
3675
3489
  attr_accessor :code
3676
3490
 
3677
- # 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
3678
3492
  # message types for APIs to use.
3679
3493
  # Corresponds to the JSON property `details`
3680
3494
  # @return [Array<Hash<String,Object>>]
3681
3495
  attr_accessor :details
3682
3496
 
3683
- # A developer-facing error message, which should be in English. Any
3684
- # user-facing error message should be localized and sent in the
3685
- # google.rpc.Status.details field, or localized by the client.
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.
3686
3500
  # Corresponds to the JSON property `message`
3687
3501
  # @return [String]
3688
3502
  attr_accessor :message
@@ -3699,52 +3513,43 @@ module Google
3699
3513
  end
3700
3514
  end
3701
3515
 
3702
- # Represents a textual expression in the Common Expression Language (CEL)
3703
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
3704
- # are documented at https://github.com/google/cel-spec.
3705
- # Example (Comparison):
3706
- # title: "Summary size limit"
3707
- # description: "Determines if a summary is less than 100 chars"
3708
- # expression: "document.summary.size() < 100"
3709
- # Example (Equality):
3710
- # title: "Requestor is owner"
3711
- # description: "Determines if requestor is the document owner"
3712
- # expression: "document.owner == request.auth.claims.email"
3713
- # Example (Logic):
3714
- # title: "Public documents"
3715
- # description: "Determine whether the document should be publicly visible"
3716
- # expression: "document.type != 'private' && document.type != 'internal'"
3717
- # Example (Data Manipulation):
3718
- # title: "Notification string"
3719
- # description: "Create a notification string with a timestamp."
3720
- # expression: "'New message received at ' + string(document.create_time)"
3721
- # The exact variables and functions that may be referenced within an expression
3722
- # are determined by the service that evaluates it. See the service
3723
- # documentation for additional information.
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.
3724
3531
  class GoogleTypeExpr
3725
3532
  include Google::Apis::Core::Hashable
3726
3533
 
3727
- # Optional. Description of the expression. This is a longer text which
3728
- # describes the expression, e.g. when hovered over it in a UI.
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.
3729
3536
  # Corresponds to the JSON property `description`
3730
3537
  # @return [String]
3731
3538
  attr_accessor :description
3732
3539
 
3733
- # Textual representation of an expression in Common Expression Language
3734
- # syntax.
3540
+ # Textual representation of an expression in Common Expression Language syntax.
3735
3541
  # Corresponds to the JSON property `expression`
3736
3542
  # @return [String]
3737
3543
  attr_accessor :expression
3738
3544
 
3739
- # Optional. String indicating the location of the expression for error
3740
- # 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.
3741
3547
  # Corresponds to the JSON property `location`
3742
3548
  # @return [String]
3743
3549
  attr_accessor :location
3744
3550
 
3745
- # Optional. Title for the expression, i.e. a short string describing
3746
- # its purpose. This can be used e.g. in UIs which allow to enter the
3747
- # expression.
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.
3748
3553
  # Corresponds to the JSON property `title`
3749
3554
  # @return [String]
3750
3555
  attr_accessor :title