google-api-client 0.43.0 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -49,14 +49,12 @@ module Google
49
49
 
50
50
  # Detects the language of text within a request.
51
51
  # @param [String] parent
52
- # Required. Project or location to make a call. Must refer to a caller's
53
- # project.
54
- # Format: `projects/`project-number-or-id`/locations/`location-id`` or
55
- # `projects/`project-number-or-id``.
56
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
57
- # `projects/`project-number-or-id``.
58
- # Only models within the same region (has same location-id) can be used.
59
- # Otherwise an INVALID_ARGUMENT (400) error is returned.
52
+ # Required. Project or location to make a call. Must refer to a caller's project.
53
+ # Format: `projects/`project-number-or-id`/locations/`location-id`` or `
54
+ # projects/`project-number-or-id``. For global calls, use `projects/`project-
55
+ # number-or-id`/locations/global` or `projects/`project-number-or-id``. Only
56
+ # models within the same region (has same location-id) can be used. Otherwise an
57
+ # INVALID_ARGUMENT (400) error is returned.
60
58
  # @param [Google::Apis::TranslateV3::DetectLanguageRequest] detect_language_request_object
61
59
  # @param [String] fields
62
60
  # Selector specifying which fields to include in a partial response.
@@ -89,29 +87,25 @@ module Google
89
87
 
90
88
  # Returns a list of supported languages for translation.
91
89
  # @param [String] parent
92
- # Required. Project or location to make a call. Must refer to a caller's
93
- # project.
94
- # Format: `projects/`project-number-or-id`` or
95
- # `projects/`project-number-or-id`/locations/`location-id``.
96
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
97
- # `projects/`project-number-or-id``.
98
- # Non-global location is required for AutoML models.
99
- # Only models within the same region (have same location-id) can be used,
100
- # otherwise an INVALID_ARGUMENT (400) error is returned.
90
+ # Required. Project or location to make a call. Must refer to a caller's project.
91
+ # Format: `projects/`project-number-or-id`` or `projects/`project-number-or-id`/
92
+ # locations/`location-id``. For global calls, use `projects/`project-number-or-
93
+ # id`/locations/global` or `projects/`project-number-or-id``. Non-global
94
+ # location is required for AutoML models. Only models within the same region (
95
+ # have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
96
+ # is returned.
101
97
  # @param [String] display_language_code
102
- # Optional. The language to use to return localized, human readable names
103
- # of supported languages. If missing, then display names are not returned
104
- # in a response.
98
+ # Optional. The language to use to return localized, human readable names of
99
+ # supported languages. If missing, then display names are not returned in a
100
+ # response.
105
101
  # @param [String] model
106
- # Optional. Get supported languages of this model.
107
- # The format depends on model type:
108
- # - AutoML Translation models:
109
- # `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
110
- # - General (built-in) models:
111
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
112
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
113
- # Returns languages supported by the specified model.
114
- # If missing, we get supported languages of Google general base (PBMT) model.
102
+ # Optional. Get supported languages of this model. The format depends on model
103
+ # type: - AutoML Translation models: `projects/`project-number-or-id`/locations/`
104
+ # location-id`/models/`model-id`` - General (built-in) models: `projects/`
105
+ # project-number-or-id`/locations/`location-id`/models/general/nmt`, `projects/`
106
+ # project-number-or-id`/locations/`location-id`/models/general/base` Returns
107
+ # languages supported by the specified model. If missing, we get supported
108
+ # languages of Google general base (PBMT) model.
115
109
  # @param [String] fields
116
110
  # Selector specifying which fields to include in a partial response.
117
111
  # @param [String] quota_user
@@ -143,16 +137,13 @@ module Google
143
137
 
144
138
  # Translates input text and returns translated text.
145
139
  # @param [String] parent
146
- # Required. Project or location to make a call. Must refer to a caller's
147
- # project.
148
- # Format: `projects/`project-number-or-id`` or
149
- # `projects/`project-number-or-id`/locations/`location-id``.
150
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
151
- # `projects/`project-number-or-id``.
152
- # Non-global location is required for requests using AutoML models or
153
- # custom glossaries.
154
- # Models and glossaries must be within the same region (have same
155
- # location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
140
+ # Required. Project or location to make a call. Must refer to a caller's project.
141
+ # Format: `projects/`project-number-or-id`` or `projects/`project-number-or-id`/
142
+ # locations/`location-id``. For global calls, use `projects/`project-number-or-
143
+ # id`/locations/global` or `projects/`project-number-or-id``. Non-global
144
+ # location is required for requests using AutoML models or custom glossaries.
145
+ # Models and glossaries must be within the same region (have same location-id),
146
+ # otherwise an INVALID_ARGUMENT (400) error is returned.
156
147
  # @param [Google::Apis::TranslateV3::TranslateTextRequest] translate_text_request_object
157
148
  # @param [String] fields
158
149
  # Selector specifying which fields to include in a partial response.
@@ -183,19 +174,18 @@ module Google
183
174
  execute_or_queue_command(command, &block)
184
175
  end
185
176
 
186
- # Translates a large volume of text in asynchronous batch mode.
187
- # This function provides real-time output as the inputs are being processed.
188
- # If caller cancels a request, the partial results (for an input file, it's
189
- # all or nothing) may still be available on the specified output location.
190
- # This call returns immediately and you can
191
- # use google.longrunning.Operation.name to poll the status of the call.
177
+ # Translates a large volume of text in asynchronous batch mode. This function
178
+ # provides real-time output as the inputs are being processed. If caller cancels
179
+ # a request, the partial results (for an input file, it's all or nothing) may
180
+ # still be available on the specified output location. This call returns
181
+ # immediately and you can use google.longrunning.Operation.name to poll the
182
+ # status of the call.
192
183
  # @param [String] parent
193
- # Required. Location to make a call. Must refer to a caller's project.
194
- # Format: `projects/`project-number-or-id`/locations/`location-id``.
195
- # The `global` location is not supported for batch translation.
196
- # Only AutoML Translation models or glossaries within the same region (have
197
- # the same location-id) can be used, otherwise an INVALID_ARGUMENT (400)
198
- # error is returned.
184
+ # Required. Location to make a call. Must refer to a caller's project. Format: `
185
+ # projects/`project-number-or-id`/locations/`location-id``. The `global`
186
+ # location is not supported for batch translation. Only AutoML Translation
187
+ # models or glossaries within the same region (have the same location-id) can be
188
+ # used, otherwise an INVALID_ARGUMENT (400) error is returned.
199
189
  # @param [Google::Apis::TranslateV3::BatchTranslateTextRequest] batch_translate_text_request_object
200
190
  # @param [String] fields
201
191
  # Selector specifying which fields to include in a partial response.
@@ -228,14 +218,12 @@ module Google
228
218
 
229
219
  # Detects the language of text within a request.
230
220
  # @param [String] parent
231
- # Required. Project or location to make a call. Must refer to a caller's
232
- # project.
233
- # Format: `projects/`project-number-or-id`/locations/`location-id`` or
234
- # `projects/`project-number-or-id``.
235
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
236
- # `projects/`project-number-or-id``.
237
- # Only models within the same region (has same location-id) can be used.
238
- # Otherwise an INVALID_ARGUMENT (400) error is returned.
221
+ # Required. Project or location to make a call. Must refer to a caller's project.
222
+ # Format: `projects/`project-number-or-id`/locations/`location-id`` or `
223
+ # projects/`project-number-or-id``. For global calls, use `projects/`project-
224
+ # number-or-id`/locations/global` or `projects/`project-number-or-id``. Only
225
+ # models within the same region (has same location-id) can be used. Otherwise an
226
+ # INVALID_ARGUMENT (400) error is returned.
239
227
  # @param [Google::Apis::TranslateV3::DetectLanguageRequest] detect_language_request_object
240
228
  # @param [String] fields
241
229
  # Selector specifying which fields to include in a partial response.
@@ -298,29 +286,25 @@ module Google
298
286
 
299
287
  # Returns a list of supported languages for translation.
300
288
  # @param [String] parent
301
- # Required. Project or location to make a call. Must refer to a caller's
302
- # project.
303
- # Format: `projects/`project-number-or-id`` or
304
- # `projects/`project-number-or-id`/locations/`location-id``.
305
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
306
- # `projects/`project-number-or-id``.
307
- # Non-global location is required for AutoML models.
308
- # Only models within the same region (have same location-id) can be used,
309
- # otherwise an INVALID_ARGUMENT (400) error is returned.
289
+ # Required. Project or location to make a call. Must refer to a caller's project.
290
+ # Format: `projects/`project-number-or-id`` or `projects/`project-number-or-id`/
291
+ # locations/`location-id``. For global calls, use `projects/`project-number-or-
292
+ # id`/locations/global` or `projects/`project-number-or-id``. Non-global
293
+ # location is required for AutoML models. Only models within the same region (
294
+ # have same location-id) can be used, otherwise an INVALID_ARGUMENT (400) error
295
+ # is returned.
310
296
  # @param [String] display_language_code
311
- # Optional. The language to use to return localized, human readable names
312
- # of supported languages. If missing, then display names are not returned
313
- # in a response.
297
+ # Optional. The language to use to return localized, human readable names of
298
+ # supported languages. If missing, then display names are not returned in a
299
+ # response.
314
300
  # @param [String] model
315
- # Optional. Get supported languages of this model.
316
- # The format depends on model type:
317
- # - AutoML Translation models:
318
- # `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
319
- # - General (built-in) models:
320
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
321
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
322
- # Returns languages supported by the specified model.
323
- # If missing, we get supported languages of Google general base (PBMT) model.
301
+ # Optional. Get supported languages of this model. The format depends on model
302
+ # type: - AutoML Translation models: `projects/`project-number-or-id`/locations/`
303
+ # location-id`/models/`model-id`` - General (built-in) models: `projects/`
304
+ # project-number-or-id`/locations/`location-id`/models/general/nmt`, `projects/`
305
+ # project-number-or-id`/locations/`location-id`/models/general/base` Returns
306
+ # languages supported by the specified model. If missing, we get supported
307
+ # languages of Google general base (PBMT) model.
324
308
  # @param [String] fields
325
309
  # Selector specifying which fields to include in a partial response.
326
310
  # @param [String] quota_user
@@ -391,16 +375,13 @@ module Google
391
375
 
392
376
  # Translates input text and returns translated text.
393
377
  # @param [String] parent
394
- # Required. Project or location to make a call. Must refer to a caller's
395
- # project.
396
- # Format: `projects/`project-number-or-id`` or
397
- # `projects/`project-number-or-id`/locations/`location-id``.
398
- # For global calls, use `projects/`project-number-or-id`/locations/global` or
399
- # `projects/`project-number-or-id``.
400
- # Non-global location is required for requests using AutoML models or
401
- # custom glossaries.
402
- # Models and glossaries must be within the same region (have same
403
- # location-id), otherwise an INVALID_ARGUMENT (400) error is returned.
378
+ # Required. Project or location to make a call. Must refer to a caller's project.
379
+ # Format: `projects/`project-number-or-id`` or `projects/`project-number-or-id`/
380
+ # locations/`location-id``. For global calls, use `projects/`project-number-or-
381
+ # id`/locations/global` or `projects/`project-number-or-id``. Non-global
382
+ # location is required for requests using AutoML models or custom glossaries.
383
+ # Models and glossaries must be within the same region (have same location-id),
384
+ # otherwise an INVALID_ARGUMENT (400) error is returned.
404
385
  # @param [Google::Apis::TranslateV3::TranslateTextRequest] translate_text_request_object
405
386
  # @param [String] fields
406
387
  # Selector specifying which fields to include in a partial response.
@@ -431,8 +412,8 @@ module Google
431
412
  execute_or_queue_command(command, &block)
432
413
  end
433
414
 
434
- # Creates a glossary and returns the long-running operation. Returns
435
- # NOT_FOUND, if the project doesn't exist.
415
+ # Creates a glossary and returns the long-running operation. Returns NOT_FOUND,
416
+ # if the project doesn't exist.
436
417
  # @param [String] parent
437
418
  # Required. The project name.
438
419
  # @param [Google::Apis::TranslateV3::Glossary] glossary_object
@@ -465,9 +446,8 @@ module Google
465
446
  execute_or_queue_command(command, &block)
466
447
  end
467
448
 
468
- # Deletes a glossary, or cancels glossary construction
469
- # if the glossary isn't created yet.
470
- # Returns NOT_FOUND, if the glossary doesn't exist.
449
+ # Deletes a glossary, or cancels glossary construction if the glossary isn't
450
+ # created yet. Returns NOT_FOUND, if the glossary doesn't exist.
471
451
  # @param [String] name
472
452
  # Required. The name of the glossary to delete.
473
453
  # @param [String] fields
@@ -497,8 +477,7 @@ module Google
497
477
  execute_or_queue_command(command, &block)
498
478
  end
499
479
 
500
- # Gets a glossary. Returns NOT_FOUND, if the glossary doesn't
501
- # exist.
480
+ # Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
502
481
  # @param [String] name
503
482
  # Required. The name of the glossary to retrieve.
504
483
  # @param [String] fields
@@ -528,35 +507,32 @@ module Google
528
507
  execute_or_queue_command(command, &block)
529
508
  end
530
509
 
531
- # Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't
532
- # exist.
510
+ # Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
533
511
  # @param [String] parent
534
512
  # Required. The name of the project from which to list all of the glossaries.
535
513
  # @param [String] filter
536
- # Optional. Filter specifying constraints of a list operation.
537
- # Specify the constraint by the format of "key=value", where key must be
538
- # "src" or "tgt", and the value must be a valid language code.
539
- # For multiple restrictions, concatenate them by "AND" (uppercase only),
540
- # such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used
541
- # here, which means using 'en-US' and 'en' can lead to different results,
542
- # which depends on the language code you used when you create the glossary.
543
- # For the unidirectional glossaries, the "src" and "tgt" add restrictions
544
- # on the source and target language code separately.
545
- # For the equivalent term set glossaries, the "src" and/or "tgt" add
546
- # restrictions on the term set.
547
- # For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional
548
- # glossaries which exactly match the source language code as "en-US" and the
549
- # target language code "zh-CN", but all equivalent term set glossaries which
550
- # contain "en-US" and "zh-CN" in their language set will be picked.
551
- # If missing, no filtering is performed.
514
+ # Optional. Filter specifying constraints of a list operation. Specify the
515
+ # constraint by the format of "key=value", where key must be "src" or "tgt", and
516
+ # the value must be a valid language code. For multiple restrictions,
517
+ # concatenate them by "AND" (uppercase only), such as: "src=en-US AND tgt=zh-CN".
518
+ # Notice that the exact match is used here, which means using 'en-US' and 'en'
519
+ # can lead to different results, which depends on the language code you used
520
+ # when you create the glossary. For the unidirectional glossaries, the "src" and
521
+ # "tgt" add restrictions on the source and target language code separately. For
522
+ # the equivalent term set glossaries, the "src" and/or "tgt" add restrictions on
523
+ # the term set. For example: "src=en-US AND tgt=zh-CN" will only pick the
524
+ # unidirectional glossaries which exactly match the source language code as "en-
525
+ # US" and the target language code "zh-CN", but all equivalent term set
526
+ # glossaries which contain "en-US" and "zh-CN" in their language set will be
527
+ # picked. If missing, no filtering is performed.
552
528
  # @param [Fixnum] page_size
553
529
  # Optional. Requested page size. The server may return fewer glossaries than
554
530
  # requested. If unspecified, the server picks an appropriate default.
555
531
  # @param [String] page_token
556
532
  # Optional. A token identifying a page of results the server should return.
557
533
  # Typically, this is the value of [ListGlossariesResponse.next_page_token]
558
- # returned from the previous call to `ListGlossaries` method.
559
- # The first page is returned if `page_token`is empty or missing.
534
+ # returned from the previous call to `ListGlossaries` method. The first page is
535
+ # returned if `page_token`is empty or missing.
560
536
  # @param [String] fields
561
537
  # Selector specifying which fields to include in a partial response.
562
538
  # @param [String] quota_user
@@ -587,15 +563,13 @@ module Google
587
563
  execute_or_queue_command(command, &block)
588
564
  end
589
565
 
590
- # Starts asynchronous cancellation on a long-running operation. The server
591
- # makes a best effort to cancel the operation, but success is not
592
- # guaranteed. If the server doesn't support this method, it returns
593
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
594
- # Operations.GetOperation or
595
- # other methods to check whether the cancellation succeeded or whether the
596
- # operation completed despite cancellation. On successful cancellation,
597
- # the operation is not deleted; instead, it becomes an operation with
598
- # an Operation.error value with a google.rpc.Status.code of 1,
566
+ # Starts asynchronous cancellation on a long-running operation. The server makes
567
+ # a best effort to cancel the operation, but success is not guaranteed. If the
568
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
569
+ # Clients can use Operations.GetOperation or other methods to check whether the
570
+ # cancellation succeeded or whether the operation completed despite cancellation.
571
+ # On successful cancellation, the operation is not deleted; instead, it becomes
572
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
599
573
  # corresponding to `Code.CANCELLED`.
600
574
  # @param [String] name
601
575
  # The name of the operation resource to be cancelled.
@@ -629,10 +603,10 @@ module Google
629
603
  execute_or_queue_command(command, &block)
630
604
  end
631
605
 
632
- # Deletes a long-running operation. This method indicates that the client is
633
- # no longer interested in the operation result. It does not cancel the
634
- # operation. If the server doesn't support this method, it returns
635
- # `google.rpc.Code.UNIMPLEMENTED`.
606
+ # Deletes a long-running operation. This method indicates that the client is no
607
+ # longer interested in the operation result. It does not cancel the operation.
608
+ # If the server doesn't support this method, it returns `google.rpc.Code.
609
+ # UNIMPLEMENTED`.
636
610
  # @param [String] name
637
611
  # The name of the operation resource to be deleted.
638
612
  # @param [String] fields
@@ -662,9 +636,8 @@ module Google
662
636
  execute_or_queue_command(command, &block)
663
637
  end
664
638
 
665
- # Gets the latest state of a long-running operation. Clients can use this
666
- # method to poll the operation result at intervals as recommended by the API
667
- # service.
639
+ # Gets the latest state of a long-running operation. Clients can use this method
640
+ # to poll the operation result at intervals as recommended by the API service.
668
641
  # @param [String] name
669
642
  # The name of the operation resource.
670
643
  # @param [String] fields
@@ -694,15 +667,14 @@ module Google
694
667
  execute_or_queue_command(command, &block)
695
668
  end
696
669
 
697
- # Lists operations that match the specified filter in the request. If the
698
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
699
- # NOTE: the `name` binding allows API services to override the binding
700
- # to use different resource name schemes, such as `users/*/operations`. To
701
- # override the binding, API services can add a binding such as
702
- # `"/v1/`name=users/*`/operations"` to their service configuration.
703
- # For backwards compatibility, the default name includes the operations
704
- # collection id, however overriding users must ensure the name binding
705
- # is the parent resource, without the operations collection id.
670
+ # Lists operations that match the specified filter in the request. If the server
671
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
672
+ # binding allows API services to override the binding to use different resource
673
+ # name schemes, such as `users/*/operations`. To override the binding, API
674
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
675
+ # service configuration. For backwards compatibility, the default name includes
676
+ # the operations collection id, however overriding users must ensure the name
677
+ # binding is the parent resource, without the operations collection id.
706
678
  # @param [String] name
707
679
  # The name of the operation's parent resource.
708
680
  # @param [String] filter
@@ -741,15 +713,14 @@ module Google
741
713
  execute_or_queue_command(command, &block)
742
714
  end
743
715
 
744
- # Waits for the specified long-running operation until it is done or reaches
745
- # at most a specified timeout, returning the latest state. If the operation
746
- # is already done, the latest state is immediately returned. If the timeout
747
- # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
748
- # timeout is used. If the server does not support this method, it returns
749
- # `google.rpc.Code.UNIMPLEMENTED`.
750
- # Note that this method is on a best-effort basis. It may return the latest
751
- # state before the specified timeout (including immediately), meaning even an
752
- # immediate response is no guarantee that the operation is done.
716
+ # Waits for the specified long-running operation until it is done or reaches at
717
+ # most a specified timeout, returning the latest state. If the operation is
718
+ # already done, the latest state is immediately returned. If the timeout
719
+ # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout
720
+ # is used. If the server does not support this method, it returns `google.rpc.
721
+ # Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may
722
+ # return the latest state before the specified timeout (including immediately),
723
+ # meaning even an immediate response is no guarantee that the operation is done.
753
724
  # @param [String] name
754
725
  # The name of the operation resource to wait on.
755
726
  # @param [Google::Apis::TranslateV3::WaitOperationRequest] wait_operation_request_object
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/translate/docs/quickstarts
26
26
  module TranslateV3beta1
27
27
  VERSION = 'V3beta1'
28
- REVISION = '20200730'
28
+ REVISION = '20200807'
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'
@@ -26,41 +26,38 @@ module Google
26
26
  class BatchTranslateTextRequest
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Optional. Glossaries to be applied for translation.
30
- # It's keyed by target language code.
29
+ # Optional. Glossaries to be applied for translation. It's keyed by target
30
+ # language code.
31
31
  # Corresponds to the JSON property `glossaries`
32
32
  # @return [Hash<String,Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig>]
33
33
  attr_accessor :glossaries
34
34
 
35
- # Required. Input configurations.
36
- # The total number of files matched should be <= 1000.
37
- # The total content size should be <= 100M Unicode codepoints.
38
- # The files must use UTF-8 encoding.
35
+ # Required. Input configurations. The total number of files matched should be <=
36
+ # 1000. The total content size should be <= 100M Unicode codepoints. The files
37
+ # must use UTF-8 encoding.
39
38
  # Corresponds to the JSON property `inputConfigs`
40
39
  # @return [Array<Google::Apis::TranslateV3beta1::InputConfig>]
41
40
  attr_accessor :input_configs
42
41
 
43
- # Optional. The labels with user-defined metadata for the request.
44
- # Label keys and values can be no longer than 63 characters
45
- # (Unicode codepoints), can only contain lowercase letters, numeric
46
- # characters, underscores and dashes. International characters are allowed.
47
- # Label values are optional. Label keys must start with a letter.
48
- # See https://cloud.google.com/translate/docs/labels for more information.
42
+ # Optional. The labels with user-defined metadata for the request. Label keys
43
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
44
+ # contain lowercase letters, numeric characters, underscores and dashes.
45
+ # International characters are allowed. Label values are optional. Label keys
46
+ # must start with a letter. See https://cloud.google.com/translate/docs/labels
47
+ # for more information.
49
48
  # Corresponds to the JSON property `labels`
50
49
  # @return [Hash<String,String>]
51
50
  attr_accessor :labels
52
51
 
53
- # Optional. The models to use for translation. Map's key is target language
54
- # code. Map's value is model name. Value can be a built-in general model,
55
- # or an AutoML Translation model.
56
- # The value format depends on model type:
57
- # - AutoML Translation models:
58
- # `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
59
- # - General (built-in) models:
60
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
61
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
62
- # If the map is empty or a specific model is
63
- # not requested for a language pair, then default google model (nmt) is used.
52
+ # Optional. The models to use for translation. Map's key is target language code.
53
+ # Map's value is model name. Value can be a built-in general model, or an
54
+ # AutoML Translation model. The value format depends on model type: - AutoML
55
+ # Translation models: `projects/`project-number-or-id`/locations/`location-id`/
56
+ # models/`model-id`` - General (built-in) models: `projects/`project-number-or-
57
+ # id`/locations/`location-id`/models/general/nmt`, `projects/`project-number-or-
58
+ # id`/locations/`location-id`/models/general/base` If the map is empty or a
59
+ # specific model is not requested for a language pair, then default google model
60
+ # (nmt) is used.
64
61
  # Corresponds to the JSON property `models`
65
62
  # @return [Hash<String,String>]
66
63
  attr_accessor :models
@@ -118,30 +115,27 @@ module Google
118
115
  # @return [String]
119
116
  attr_accessor :content
120
117
 
121
- # Optional. The labels with user-defined metadata for the request.
122
- # Label keys and values can be no longer than 63 characters
123
- # (Unicode codepoints), can only contain lowercase letters, numeric
124
- # characters, underscores and dashes. International characters are allowed.
125
- # Label values are optional. Label keys must start with a letter.
126
- # See https://cloud.google.com/translate/docs/labels for more information.
118
+ # Optional. The labels with user-defined metadata for the request. Label keys
119
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
120
+ # contain lowercase letters, numeric characters, underscores and dashes.
121
+ # International characters are allowed. Label values are optional. Label keys
122
+ # must start with a letter. See https://cloud.google.com/translate/docs/labels
123
+ # for more information.
127
124
  # Corresponds to the JSON property `labels`
128
125
  # @return [Hash<String,String>]
129
126
  attr_accessor :labels
130
127
 
131
- # Optional. The format of the source text, for example, "text/html",
132
- # "text/plain". If left blank, the MIME type defaults to "text/html".
128
+ # Optional. The format of the source text, for example, "text/html", "text/plain"
129
+ # . If left blank, the MIME type defaults to "text/html".
133
130
  # Corresponds to the JSON property `mimeType`
134
131
  # @return [String]
135
132
  attr_accessor :mime_type
136
133
 
137
- # Optional. The language detection model to be used.
138
- # Format:
139
- # `projects/`project-number-or-id`/locations/`location-id`/models/language-
140
- # detection/`model-id``
141
- # Only one language detection model is currently supported:
142
- # `projects/`project-number-or-id`/locations/`location-id`/models/language-
143
- # detection/default`.
144
- # If not specified, the default model is used.
134
+ # Optional. The language detection model to be used. Format: `projects/`project-
135
+ # number-or-id`/locations/`location-id`/models/language-detection/`model-id``
136
+ # Only one language detection model is currently supported: `projects/`project-
137
+ # number-or-id`/locations/`location-id`/models/language-detection/default`. If
138
+ # not specified, the default model is used.
145
139
  # Corresponds to the JSON property `model`
146
140
  # @return [String]
147
141
  attr_accessor :model
@@ -205,13 +199,11 @@ module Google
205
199
  end
206
200
  end
207
201
 
208
- # A generic empty message that you can re-use to avoid defining duplicated
209
- # empty messages in your APIs. A typical example is to use it as the request
210
- # or the response type of an API method. For instance:
211
- # service Foo `
212
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
213
- # `
214
- # The JSON representation for `Empty` is empty JSON object ````.
202
+ # A generic empty message that you can re-use to avoid defining duplicated empty
203
+ # messages in your APIs. A typical example is to use it as the request or the
204
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
205
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
206
+ # `Empty` is empty JSON object ````.
215
207
  class Empty
216
208
  include Google::Apis::Core::Hashable
217
209
 
@@ -228,9 +220,9 @@ module Google
228
220
  class GcsDestination
229
221
  include Google::Apis::Core::Hashable
230
222
 
231
- # Required. There must be no files under 'output_uri_prefix'.
232
- # 'output_uri_prefix' must end with "/" and start with "gs://", otherwise an
233
- # INVALID_ARGUMENT (400) error is returned.
223
+ # Required. There must be no files under 'output_uri_prefix'. 'output_uri_prefix'
224
+ # must end with "/" and start with "gs://", otherwise an INVALID_ARGUMENT (400)
225
+ # error is returned.
234
226
  # Corresponds to the JSON property `outputUriPrefix`
235
227
  # @return [String]
236
228
  attr_accessor :output_uri_prefix
@@ -293,8 +285,8 @@ module Google
293
285
  # @return [Google::Apis::TranslateV3beta1::LanguageCodePair]
294
286
  attr_accessor :language_pair
295
287
 
296
- # Required. The resource name of the glossary. Glossary names have the form
297
- # `projects/`project-number-or-id`/locations/`location-id`/glossaries/`glossary-
288
+ # Required. The resource name of the glossary. Glossary names have the form `
289
+ # projects/`project-number-or-id`/locations/`location-id`/glossaries/`glossary-
298
290
  # id``.
299
291
  # Corresponds to the JSON property `name`
300
292
  # @return [String]
@@ -349,9 +341,8 @@ module Google
349
341
  # @return [Google::Apis::TranslateV3beta1::GcsSource]
350
342
  attr_accessor :gcs_source
351
343
 
352
- # Optional. Can be "text/plain" or "text/html".
353
- # For `.tsv`, "text/html" is used if mime_type is missing.
354
- # For `.html`, this field must be "text/html" or empty.
344
+ # Optional. Can be "text/plain" or "text/html". For `.tsv`, "text/html" is used
345
+ # if mime_type is missing. For `.html`, this field must be "text/html" or empty.
355
346
  # For `.txt`, this field must be "text/plain" or empty.
356
347
  # Corresponds to the JSON property `mimeType`
357
348
  # @return [String]
@@ -372,14 +363,14 @@ module Google
372
363
  class LanguageCodePair
373
364
  include Google::Apis::Core::Hashable
374
365
 
375
- # Required. The BCP-47 language code of the input text, for example,
376
- # "en-US". Expected to be an exact match for GlossaryTerm.language_code.
366
+ # Required. The BCP-47 language code of the input text, for example, "en-US".
367
+ # Expected to be an exact match for GlossaryTerm.language_code.
377
368
  # Corresponds to the JSON property `sourceLanguageCode`
378
369
  # @return [String]
379
370
  attr_accessor :source_language_code
380
371
 
381
- # Required. The BCP-47 language code for translation output, for example,
382
- # "zh-CN". Expected to be an exact match for GlossaryTerm.language_code.
372
+ # Required. The BCP-47 language code for translation output, for example, "zh-CN"
373
+ # . Expected to be an exact match for GlossaryTerm.language_code.
383
374
  # Corresponds to the JSON property `targetLanguageCode`
384
375
  # @return [String]
385
376
  attr_accessor :target_language_code
@@ -399,9 +390,9 @@ module Google
399
390
  class LanguageCodesSet
400
391
  include Google::Apis::Core::Hashable
401
392
 
402
- # The BCP-47 language code(s) for terms defined in the glossary.
403
- # All entries are unique. The list contains at least two entries.
404
- # Expected to be an exact match for GlossaryTerm.language_code.
393
+ # The BCP-47 language code(s) for terms defined in the glossary. All entries are
394
+ # unique. The list contains at least two entries. Expected to be an exact match
395
+ # for GlossaryTerm.language_code.
405
396
  # Corresponds to the JSON property `languageCodes`
406
397
  # @return [Array<String>]
407
398
  attr_accessor :language_codes
@@ -425,9 +416,9 @@ module Google
425
416
  # @return [Array<Google::Apis::TranslateV3beta1::Glossary>]
426
417
  attr_accessor :glossaries
427
418
 
428
- # A token to retrieve a page of results. Pass this value in the
429
- # [ListGlossariesRequest.page_token] field in the subsequent call to
430
- # `ListGlossaries` method to retrieve the next page of results.
419
+ # A token to retrieve a page of results. Pass this value in the [
420
+ # ListGlossariesRequest.page_token] field in the subsequent call to `
421
+ # ListGlossaries` method to retrieve the next page of results.
431
422
  # Corresponds to the JSON property `nextPageToken`
432
423
  # @return [String]
433
424
  attr_accessor :next_page_token
@@ -497,14 +488,14 @@ module Google
497
488
  class Location
498
489
  include Google::Apis::Core::Hashable
499
490
 
500
- # The friendly name for this location, typically a nearby city name.
501
- # For example, "Tokyo".
491
+ # The friendly name for this location, typically a nearby city name. For example,
492
+ # "Tokyo".
502
493
  # Corresponds to the JSON property `displayName`
503
494
  # @return [String]
504
495
  attr_accessor :display_name
505
496
 
506
- # Cross-service attributes for the location. For example
507
- # `"cloud.googleapis.com/region": "us-east1"`
497
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
498
+ # region": "us-east1"`
508
499
  # Corresponds to the JSON property `labels`
509
500
  # @return [Hash<String,String>]
510
501
  attr_accessor :labels
@@ -520,8 +511,8 @@ module Google
520
511
  # @return [Hash<String,Object>]
521
512
  attr_accessor :metadata
522
513
 
523
- # Resource name for the location, which may vary between implementations.
524
- # For example: `"projects/example-project/locations/us-east1"`
514
+ # Resource name for the location, which may vary between implementations. For
515
+ # example: `"projects/example-project/locations/us-east1"`
525
516
  # Corresponds to the JSON property `name`
526
517
  # @return [String]
527
518
  attr_accessor :name
@@ -545,47 +536,45 @@ module Google
545
536
  class Operation
546
537
  include Google::Apis::Core::Hashable
547
538
 
548
- # If the value is `false`, it means the operation is still in progress.
549
- # If `true`, the operation is completed, and either `error` or `response` is
550
- # available.
539
+ # If the value is `false`, it means the operation is still in progress. If `true`
540
+ # , the operation is completed, and either `error` or `response` is available.
551
541
  # Corresponds to the JSON property `done`
552
542
  # @return [Boolean]
553
543
  attr_accessor :done
554
544
  alias_method :done?, :done
555
545
 
556
- # The `Status` type defines a logical error model that is suitable for
557
- # different programming environments, including REST APIs and RPC APIs. It is
558
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
559
- # three pieces of data: error code, error message, and error details.
560
- # You can find out more about this error model and how to work with it in the
561
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
546
+ # The `Status` type defines a logical error model that is suitable for different
547
+ # programming environments, including REST APIs and RPC APIs. It is used by [
548
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
549
+ # data: error code, error message, and error details. You can find out more
550
+ # about this error model and how to work with it in the [API Design Guide](https:
551
+ # //cloud.google.com/apis/design/errors).
562
552
  # Corresponds to the JSON property `error`
563
553
  # @return [Google::Apis::TranslateV3beta1::Status]
564
554
  attr_accessor :error
565
555
 
566
- # Service-specific metadata associated with the operation. It typically
567
- # contains progress information and common metadata such as create time.
568
- # Some services might not provide such metadata. Any method that returns a
569
- # long-running operation should document the metadata type, if any.
556
+ # Service-specific metadata associated with the operation. It typically contains
557
+ # progress information and common metadata such as create time. Some services
558
+ # might not provide such metadata. Any method that returns a long-running
559
+ # operation should document the metadata type, if any.
570
560
  # Corresponds to the JSON property `metadata`
571
561
  # @return [Hash<String,Object>]
572
562
  attr_accessor :metadata
573
563
 
574
564
  # The server-assigned name, which is only unique within the same service that
575
- # originally returns it. If you use the default HTTP mapping, the
576
- # `name` should be a resource name ending with `operations/`unique_id``.
565
+ # originally returns it. If you use the default HTTP mapping, the `name` should
566
+ # be a resource name ending with `operations/`unique_id``.
577
567
  # Corresponds to the JSON property `name`
578
568
  # @return [String]
579
569
  attr_accessor :name
580
570
 
581
- # The normal response of the operation in case of success. If the original
582
- # method returns no data on success, such as `Delete`, the response is
583
- # `google.protobuf.Empty`. If the original method is standard
584
- # `Get`/`Create`/`Update`, the response should be the resource. For other
585
- # methods, the response should have the type `XxxResponse`, where `Xxx`
586
- # is the original method name. For example, if the original method name
587
- # is `TakeSnapshot()`, the inferred response type is
588
- # `TakeSnapshotResponse`.
571
+ # The normal response of the operation in case of success. If the original
572
+ # method returns no data on success, such as `Delete`, the response is `google.
573
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
574
+ # the response should be the resource. For other methods, the response should
575
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
576
+ # example, if the original method name is `TakeSnapshot()`, the inferred
577
+ # response type is `TakeSnapshotResponse`.
589
578
  # Corresponds to the JSON property `response`
590
579
  # @return [Hash<String,Object>]
591
580
  attr_accessor :response
@@ -623,12 +612,12 @@ module Google
623
612
  end
624
613
  end
625
614
 
626
- # The `Status` type defines a logical error model that is suitable for
627
- # different programming environments, including REST APIs and RPC APIs. It is
628
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
629
- # three pieces of data: error code, error message, and error details.
630
- # You can find out more about this error model and how to work with it in the
631
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
615
+ # The `Status` type defines a logical error model that is suitable for different
616
+ # programming environments, including REST APIs and RPC APIs. It is used by [
617
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
618
+ # data: error code, error message, and error details. You can find out more
619
+ # about this error model and how to work with it in the [API Design Guide](https:
620
+ # //cloud.google.com/apis/design/errors).
632
621
  class Status
633
622
  include Google::Apis::Core::Hashable
634
623
 
@@ -637,15 +626,15 @@ module Google
637
626
  # @return [Fixnum]
638
627
  attr_accessor :code
639
628
 
640
- # A list of messages that carry the error details. There is a common set of
629
+ # A list of messages that carry the error details. There is a common set of
641
630
  # message types for APIs to use.
642
631
  # Corresponds to the JSON property `details`
643
632
  # @return [Array<Hash<String,Object>>]
644
633
  attr_accessor :details
645
634
 
646
- # A developer-facing error message, which should be in English. Any
647
- # user-facing error message should be localized and sent in the
648
- # google.rpc.Status.details field, or localized by the client.
635
+ # A developer-facing error message, which should be in English. Any user-facing
636
+ # error message should be localized and sent in the google.rpc.Status.details
637
+ # field, or localized by the client.
649
638
  # Corresponds to the JSON property `message`
650
639
  # @return [String]
651
640
  attr_accessor :message
@@ -662,8 +651,8 @@ module Google
662
651
  end
663
652
  end
664
653
 
665
- # A single supported language response corresponds to information related
666
- # to one supported language.
654
+ # A single supported language response corresponds to information related to one
655
+ # supported language.
667
656
  class SupportedLanguage
668
657
  include Google::Apis::Core::Hashable
669
658
 
@@ -673,10 +662,9 @@ module Google
673
662
  # @return [String]
674
663
  attr_accessor :display_name
675
664
 
676
- # Supported language code, generally consisting of its ISO 639-1
677
- # identifier, for example, 'en', 'ja'. In certain cases, BCP-47 codes
678
- # including language and region identifiers are returned (for example,
679
- # 'zh-TW' and 'zh-CN')
665
+ # Supported language code, generally consisting of its ISO 639-1 identifier, for
666
+ # example, 'en', 'ja'. In certain cases, BCP-47 codes including language and
667
+ # region identifiers are returned (for example, 'zh-TW' and 'zh-CN')
680
668
  # Corresponds to the JSON property `languageCode`
681
669
  # @return [String]
682
670
  attr_accessor :language_code
@@ -710,8 +698,8 @@ module Google
710
698
  class SupportedLanguages
711
699
  include Google::Apis::Core::Hashable
712
700
 
713
- # A list of supported language responses. This list contains an entry
714
- # for each language the Translation API supports.
701
+ # A list of supported language responses. This list contains an entry for each
702
+ # language the Translation API supports.
715
703
  # Corresponds to the JSON property `languages`
716
704
  # @return [Array<Google::Apis::TranslateV3beta1::SupportedLanguage>]
717
705
  attr_accessor :languages
@@ -726,19 +714,19 @@ module Google
726
714
  end
727
715
  end
728
716
 
729
- # Configures which glossary should be used for a specific target language,
730
- # and defines options for applying that glossary.
717
+ # Configures which glossary should be used for a specific target language, and
718
+ # defines options for applying that glossary.
731
719
  class TranslateTextGlossaryConfig
732
720
  include Google::Apis::Core::Hashable
733
721
 
734
- # Required. Specifies the glossary used for this translation. Use
735
- # this format: projects/*/locations/*/glossaries/*
722
+ # Required. Specifies the glossary used for this translation. Use this format:
723
+ # projects/*/locations/*/glossaries/*
736
724
  # Corresponds to the JSON property `glossary`
737
725
  # @return [String]
738
726
  attr_accessor :glossary
739
727
 
740
- # Optional. Indicates match is case-insensitive.
741
- # Default value is false if missing.
728
+ # Optional. Indicates match is case-insensitive. Default value is false if
729
+ # missing.
742
730
  # Corresponds to the JSON property `ignoreCase`
743
731
  # @return [Boolean]
744
732
  attr_accessor :ignore_case
@@ -759,61 +747,57 @@ module Google
759
747
  class TranslateTextRequest
760
748
  include Google::Apis::Core::Hashable
761
749
 
762
- # Required. The content of the input in string format.
763
- # We recommend the total content be less than 30k codepoints.
764
- # Use BatchTranslateText for larger text.
750
+ # Required. The content of the input in string format. We recommend the total
751
+ # content be less than 30k codepoints. Use BatchTranslateText for larger text.
765
752
  # Corresponds to the JSON property `contents`
766
753
  # @return [Array<String>]
767
754
  attr_accessor :contents
768
755
 
769
- # Configures which glossary should be used for a specific target language,
770
- # and defines options for applying that glossary.
756
+ # Configures which glossary should be used for a specific target language, and
757
+ # defines options for applying that glossary.
771
758
  # Corresponds to the JSON property `glossaryConfig`
772
759
  # @return [Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig]
773
760
  attr_accessor :glossary_config
774
761
 
775
- # Optional. The labels with user-defined metadata for the request.
776
- # Label keys and values can be no longer than 63 characters
777
- # (Unicode codepoints), can only contain lowercase letters, numeric
778
- # characters, underscores and dashes. International characters are allowed.
779
- # Label values are optional. Label keys must start with a letter.
780
- # See https://cloud.google.com/translate/docs/labels for more information.
762
+ # Optional. The labels with user-defined metadata for the request. Label keys
763
+ # and values can be no longer than 63 characters (Unicode codepoints), can only
764
+ # contain lowercase letters, numeric characters, underscores and dashes.
765
+ # International characters are allowed. Label values are optional. Label keys
766
+ # must start with a letter. See https://cloud.google.com/translate/docs/labels
767
+ # for more information.
781
768
  # Corresponds to the JSON property `labels`
782
769
  # @return [Hash<String,String>]
783
770
  attr_accessor :labels
784
771
 
785
- # Optional. The format of the source text, for example, "text/html",
786
- # "text/plain". If left blank, the MIME type defaults to "text/html".
772
+ # Optional. The format of the source text, for example, "text/html", "text/plain"
773
+ # . If left blank, the MIME type defaults to "text/html".
787
774
  # Corresponds to the JSON property `mimeType`
788
775
  # @return [String]
789
776
  attr_accessor :mime_type
790
777
 
791
- # Optional. The `model` type requested for this translation.
792
- # The format depends on model type:
793
- # - AutoML Translation models:
794
- # `projects/`project-number-or-id`/locations/`location-id`/models/`model-id``
795
- # - General (built-in) models:
796
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`,
797
- # `projects/`project-number-or-id`/locations/`location-id`/models/general/base`
798
- # For global (non-regionalized) requests, use `location-id` `global`.
799
- # For example,
800
- # `projects/`project-number-or-id`/locations/global/models/general/nmt`.
778
+ # Optional. The `model` type requested for this translation. The format depends
779
+ # on model type: - AutoML Translation models: `projects/`project-number-or-id`/
780
+ # locations/`location-id`/models/`model-id`` - General (built-in) models: `
781
+ # projects/`project-number-or-id`/locations/`location-id`/models/general/nmt`, `
782
+ # projects/`project-number-or-id`/locations/`location-id`/models/general/base`
783
+ # For global (non-regionalized) requests, use `location-id` `global`. For
784
+ # example, `projects/`project-number-or-id`/locations/global/models/general/nmt`.
801
785
  # If missing, the system decides which google base model to use.
802
786
  # Corresponds to the JSON property `model`
803
787
  # @return [String]
804
788
  attr_accessor :model
805
789
 
806
- # Optional. The BCP-47 language code of the input text if
807
- # known, for example, "en-US" or "sr-Latn". Supported language codes are
808
- # listed in Language Support. If the source language isn't specified, the API
809
- # attempts to identify the source language automatically and returns the
810
- # source language within the response.
790
+ # Optional. The BCP-47 language code of the input text if known, for example, "
791
+ # en-US" or "sr-Latn". Supported language codes are listed in Language Support.
792
+ # If the source language isn't specified, the API attempts to identify the
793
+ # source language automatically and returns the source language within the
794
+ # response.
811
795
  # Corresponds to the JSON property `sourceLanguageCode`
812
796
  # @return [String]
813
797
  attr_accessor :source_language_code
814
798
 
815
- # Required. The BCP-47 language code to use for translation of the input
816
- # text, set to one of the language codes listed in Language Support.
799
+ # Required. The BCP-47 language code to use for translation of the input text,
800
+ # set to one of the language codes listed in Language Support.
817
801
  # Corresponds to the JSON property `targetLanguageCode`
818
802
  # @return [String]
819
803
  attr_accessor :target_language_code
@@ -838,18 +822,15 @@ module Google
838
822
  class TranslateTextResponse
839
823
  include Google::Apis::Core::Hashable
840
824
 
841
- # Text translation responses if a glossary is provided in the request.
842
- # This can be the same as
843
- # `translations` if no terms apply.
844
- # This field has the same length as
845
- # `contents`.
825
+ # Text translation responses if a glossary is provided in the request. This can
826
+ # be the same as `translations` if no terms apply. This field has the same
827
+ # length as `contents`.
846
828
  # Corresponds to the JSON property `glossaryTranslations`
847
829
  # @return [Array<Google::Apis::TranslateV3beta1::Translation>]
848
830
  attr_accessor :glossary_translations
849
831
 
850
- # Text translation responses with no glossary applied.
851
- # This field has the same length as
852
- # `contents`.
832
+ # Text translation responses with no glossary applied. This field has the same
833
+ # length as `contents`.
853
834
  # Corresponds to the JSON property `translations`
854
835
  # @return [Array<Google::Apis::TranslateV3beta1::Translation>]
855
836
  attr_accessor :translations
@@ -870,26 +851,24 @@ module Google
870
851
  include Google::Apis::Core::Hashable
871
852
 
872
853
  # The BCP-47 language code of source text in the initial request, detected
873
- # automatically, if no source language was passed within the initial
874
- # request. If the source language was passed, auto-detection of the language
875
- # does not occur and this field is empty.
854
+ # automatically, if no source language was passed within the initial request. If
855
+ # the source language was passed, auto-detection of the language does not occur
856
+ # and this field is empty.
876
857
  # Corresponds to the JSON property `detectedLanguageCode`
877
858
  # @return [String]
878
859
  attr_accessor :detected_language_code
879
860
 
880
- # Configures which glossary should be used for a specific target language,
881
- # and defines options for applying that glossary.
861
+ # Configures which glossary should be used for a specific target language, and
862
+ # defines options for applying that glossary.
882
863
  # Corresponds to the JSON property `glossaryConfig`
883
864
  # @return [Google::Apis::TranslateV3beta1::TranslateTextGlossaryConfig]
884
865
  attr_accessor :glossary_config
885
866
 
886
- # Only present when `model` is present in the request.
887
- # `model` here is normalized to have project number.
888
- # For example:
889
- # If the `model` requested in TranslationTextRequest is
890
- # `projects/`project-id`/locations/`location-id`/models/general/nmt` then
891
- # `model` here would be normalized to
892
- # `projects/`project-number`/locations/`location-id`/models/general/nmt`.
867
+ # Only present when `model` is present in the request. `model` here is
868
+ # normalized to have project number. For example: If the `model` requested in
869
+ # TranslationTextRequest is `projects/`project-id`/locations/`location-id`/
870
+ # models/general/nmt` then `model` here would be normalized to `projects/`
871
+ # project-number`/locations/`location-id`/models/general/nmt`.
893
872
  # Corresponds to the JSON property `model`
894
873
  # @return [String]
895
874
  attr_accessor :model
@@ -916,9 +895,9 @@ module Google
916
895
  class WaitOperationRequest
917
896
  include Google::Apis::Core::Hashable
918
897
 
919
- # The maximum duration to wait before timing out. If left blank, the wait
920
- # will be at most the time permitted by the underlying HTTP/RPC protocol.
921
- # If RPC context deadline is also specified, the shorter one will be used.
898
+ # The maximum duration to wait before timing out. If left blank, the wait will
899
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
900
+ # context deadline is also specified, the shorter one will be used.
922
901
  # Corresponds to the JSON property `timeout`
923
902
  # @return [String]
924
903
  attr_accessor :timeout