google-api-client 0.30.8 → 0.30.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +108 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +16 -0
  5. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
  7. data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
  8. data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  11. data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
  14. data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +11 -10
  16. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  17. data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
  18. data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
  19. data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +6 -0
  22. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  23. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
  25. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  33. data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
  37. data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
  38. data/generated/google/apis/bigquery_v2.rb +4 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +137 -5
  40. data/generated/google/apis/bigquery_v2/representations.rb +64 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +5 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
  43. data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
  44. data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
  45. data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
  46. data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
  47. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
  49. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
  50. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
  51. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  52. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  53. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
  54. data/generated/google/apis/cloudasset_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
  56. data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
  67. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  68. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
  69. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
  70. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  71. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
  74. data/generated/google/apis/cloudkms_v1.rb +1 -1
  75. data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
  76. data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
  77. data/generated/google/apis/cloudkms_v1/service.rb +28 -16
  78. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
  80. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
  81. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  88. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
  92. data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
  93. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
  95. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
  98. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
  99. data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
  100. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
  102. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  103. data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
  104. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
  106. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
  107. data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
  108. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  109. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
  110. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
  111. data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
  112. data/generated/google/apis/compute_v1/service.rb +1 -1
  113. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  114. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
  115. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
  116. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
  118. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
  119. data/generated/google/apis/content_v2.rb +1 -1
  120. data/generated/google/apis/content_v2/classes.rb +10 -5
  121. data/generated/google/apis/content_v2/service.rb +3 -2
  122. data/generated/google/apis/content_v2_1.rb +1 -1
  123. data/generated/google/apis/content_v2_1/classes.rb +618 -6
  124. data/generated/google/apis/content_v2_1/representations.rb +271 -0
  125. data/generated/google/apis/content_v2_1/service.rb +357 -2
  126. data/generated/google/apis/dataproc_v1.rb +1 -1
  127. data/generated/google/apis/dataproc_v1/classes.rb +69 -8
  128. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  129. data/generated/google/apis/dataproc_v1/service.rb +121 -57
  130. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  131. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
  132. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
  134. data/generated/google/apis/dialogflow_v2.rb +1 -1
  135. data/generated/google/apis/dialogflow_v2/service.rb +94 -0
  136. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  137. data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
  138. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  139. data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
  140. data/generated/google/apis/dlp_v2.rb +1 -1
  141. data/generated/google/apis/dlp_v2/classes.rb +1 -1
  142. data/generated/google/apis/docs_v1.rb +1 -1
  143. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  144. data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
  145. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  146. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  147. data/generated/google/apis/drive_v2/service.rb +6 -6
  148. data/generated/google/apis/drive_v3/service.rb +6 -6
  149. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  150. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
  151. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
  152. data/generated/google/apis/fcm_v1.rb +1 -1
  153. data/generated/google/apis/fcm_v1/classes.rb +419 -0
  154. data/generated/google/apis/fcm_v1/representations.rb +45 -0
  155. data/generated/google/apis/file_v1.rb +1 -1
  156. data/generated/google/apis/file_v1/classes.rb +12 -1
  157. data/generated/google/apis/file_v1/representations.rb +1 -0
  158. data/generated/google/apis/file_v1beta1.rb +1 -1
  159. data/generated/google/apis/file_v1beta1/classes.rb +12 -1
  160. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  161. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  162. data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
  163. data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
  164. data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
  165. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  166. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
  167. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
  168. data/generated/google/apis/firebaserules_v1.rb +1 -1
  169. data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
  170. data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
  171. data/generated/google/apis/games_management_v1management.rb +1 -1
  172. data/generated/google/apis/games_management_v1management/classes.rb +1 -2
  173. data/generated/google/apis/games_v1.rb +1 -1
  174. data/generated/google/apis/games_v1/classes.rb +1 -2
  175. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  176. data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
  177. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
  178. data/generated/google/apis/groupssettings_v1.rb +1 -1
  179. data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
  180. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  181. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  182. data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
  183. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
  184. data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
  187. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  188. data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
  189. data/generated/google/apis/iam_v1.rb +1 -1
  190. data/generated/google/apis/iam_v1/classes.rb +31 -1
  191. data/generated/google/apis/iam_v1/representations.rb +14 -0
  192. data/generated/google/apis/iam_v1/service.rb +45 -4
  193. data/generated/google/apis/iap_v1.rb +1 -1
  194. data/generated/google/apis/iap_v1/classes.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1.rb +1 -1
  196. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  197. data/generated/google/apis/jobs_v3.rb +1 -1
  198. data/generated/google/apis/jobs_v3/classes.rb +2 -1
  199. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  200. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
  201. data/generated/google/apis/libraryagent_v1.rb +1 -1
  202. data/generated/google/apis/libraryagent_v1/service.rb +5 -5
  203. data/generated/google/apis/logging_v2.rb +1 -1
  204. data/generated/google/apis/logging_v2/classes.rb +2 -2
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +63 -9
  207. data/generated/google/apis/ml_v1/representations.rb +16 -1
  208. data/generated/google/apis/ml_v1/service.rb +2 -2
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +29 -2
  211. data/generated/google/apis/monitoring_v3/representations.rb +4 -0
  212. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  213. data/generated/google/apis/people_v1.rb +1 -1
  214. data/generated/google/apis/people_v1/classes.rb +7 -0
  215. data/generated/google/apis/people_v1/representations.rb +1 -0
  216. data/generated/google/apis/people_v1/service.rb +5 -4
  217. data/generated/google/apis/pubsub_v1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +12 -11
  219. data/generated/google/apis/pubsub_v1/service.rb +3 -3
  220. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  221. data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
  222. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +25 -0
  234. data/generated/google/apis/run_v1/representations.rb +15 -0
  235. data/generated/google/apis/run_v1/service.rb +39 -0
  236. data/generated/google/apis/run_v1alpha1.rb +1 -1
  237. data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
  238. data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
  239. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  240. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  241. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
  244. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  245. data/generated/google/apis/securitycenter_v1/service.rb +19 -6
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  249. data/generated/google/apis/servicebroker_v1.rb +1 -1
  250. data/generated/google/apis/servicebroker_v1/service.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  252. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  254. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
  257. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  258. data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
  259. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
  260. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/serviceusage_v1.rb +1 -1
  264. data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
  265. data/generated/google/apis/serviceusage_v1/service.rb +1 -0
  266. data/generated/google/apis/sheets_v4.rb +1 -1
  267. data/generated/google/apis/sheets_v4/classes.rb +53 -10
  268. data/generated/google/apis/sheets_v4/representations.rb +17 -0
  269. data/generated/google/apis/spanner_v1.rb +1 -1
  270. data/generated/google/apis/spanner_v1/classes.rb +50 -54
  271. data/generated/google/apis/spanner_v1/service.rb +8 -15
  272. data/generated/google/apis/speech_v1.rb +1 -1
  273. data/generated/google/apis/speech_v1/classes.rb +2 -1
  274. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
  276. data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
  277. data/generated/google/apis/speech_v2beta/classes.rb +355 -0
  278. data/generated/google/apis/speech_v2beta/representations.rb +152 -0
  279. data/generated/google/apis/speech_v2beta/service.rb +138 -0
  280. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
  282. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  283. data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
  284. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  285. data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
  286. data/generated/google/apis/tpu_v1.rb +1 -1
  287. data/generated/google/apis/tpu_v1/classes.rb +12 -0
  288. data/generated/google/apis/tpu_v1/representations.rb +2 -0
  289. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  290. data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
  291. data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
  292. data/generated/google/apis/translate_v3beta1.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
  294. data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
  295. data/generated/google/apis/translate_v3beta1/service.rb +82 -7
  296. data/generated/google/apis/vision_v1.rb +1 -1
  297. data/generated/google/apis/vision_v1/classes.rb +579 -0
  298. data/generated/google/apis/vision_v1/representations.rb +172 -0
  299. data/generated/google/apis/vision_v1/service.rb +404 -0
  300. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  301. data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
  302. data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
  303. data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
  304. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
  306. data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
  307. data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
  308. data/generated/google/apis/websecurityscanner_v1.rb +4 -1
  309. data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
  310. data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
  311. data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
  312. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
  315. data/generated/google/apis/youtube_v3.rb +1 -1
  316. data/generated/google/apis/youtube_v3/classes.rb +322 -0
  317. data/generated/google/apis/youtube_v3/representations.rb +139 -0
  318. data/generated/google/apis/youtube_v3/service.rb +85 -0
  319. data/lib/google/api_client/client_secrets.rb +1 -2
  320. data/lib/google/apis/core/api_command.rb +12 -0
  321. data/lib/google/apis/core/batch.rb +2 -0
  322. data/lib/google/apis/core/http_command.rb +8 -1
  323. data/lib/google/apis/core/json_representation.rb +1 -1
  324. data/lib/google/apis/generator/annotator.rb +1 -0
  325. data/lib/google/apis/version.rb +1 -1
  326. metadata +14 -6
  327. data/generated/google/apis/run_v1beta1/classes.rb +0 -98
  328. data/generated/google/apis/run_v1beta1/representations.rb +0 -58
  329. data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -694,6 +700,12 @@ module Google
694
700
  include Google::Apis::Core::JsonObjectSupport
695
701
  end
696
702
 
703
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -976,6 +988,12 @@ module Google
976
988
  include Google::Apis::Core::JsonObjectSupport
977
989
  end
978
990
 
991
+ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation
992
+ class Representation < Google::Apis::Core::JsonRepresentation; end
993
+
994
+ include Google::Apis::Core::JsonObjectSupport
995
+ end
996
+
979
997
  class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
980
998
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
999
 
@@ -1282,6 +1300,12 @@ module Google
1282
1300
  include Google::Apis::Core::JsonObjectSupport
1283
1301
  end
1284
1302
 
1303
+ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation
1304
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1305
+
1306
+ include Google::Apis::Core::JsonObjectSupport
1307
+ end
1308
+
1285
1309
  class GoogleCloudVisionV1p4beta1ProductSearchResultsResult
1286
1310
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1311
 
@@ -1594,6 +1618,12 @@ module Google
1594
1618
  include Google::Apis::Core::JsonObjectSupport
1595
1619
  end
1596
1620
 
1621
+ class GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation
1622
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1623
+
1624
+ include Google::Apis::Core::JsonObjectSupport
1625
+ end
1626
+
1597
1627
  class GoogleCloudVisionV1p5beta1ProductSearchResultsResult
1598
1628
  class Representation < Google::Apis::Core::JsonRepresentation; end
1599
1629
 
@@ -1774,6 +1804,12 @@ module Google
1774
1804
  include Google::Apis::Core::JsonObjectSupport
1775
1805
  end
1776
1806
 
1807
+ class ObjectAnnotation
1808
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1809
+
1810
+ include Google::Apis::Core::JsonObjectSupport
1811
+ end
1812
+
1777
1813
  class Operation
1778
1814
  class Representation < Google::Apis::Core::JsonRepresentation; end
1779
1815
 
@@ -1915,6 +1951,8 @@ module Google
1915
1951
  class AnnotateFileResponse
1916
1952
  # @private
1917
1953
  class Representation < Google::Apis::Core::JsonRepresentation
1954
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
1955
+
1918
1956
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::InputConfig, decorator: Google::Apis::VisionV1p1beta1::InputConfig::Representation
1919
1957
 
1920
1958
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::AnnotateImageResponse::Representation
@@ -2156,6 +2194,8 @@ module Google
2156
2194
  class GoogleCloudVisionV1p1beta1AnnotateFileResponse
2157
2195
  # @private
2158
2196
  class Representation < Google::Apis::Core::JsonRepresentation
2197
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
2198
+
2159
2199
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig::Representation
2160
2200
 
2161
2201
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageResponse::Representation
@@ -2235,6 +2275,7 @@ module Google
2235
2275
  class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
2236
2276
  # @private
2237
2277
  class Representation < Google::Apis::Core::JsonRepresentation
2278
+ property :parent, as: 'parent'
2238
2279
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest::Representation
2239
2280
 
2240
2281
  end
@@ -2253,6 +2294,7 @@ module Google
2253
2294
  class Representation < Google::Apis::Core::JsonRepresentation
2254
2295
  property :output_config, as: 'outputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig::Representation
2255
2296
 
2297
+ property :parent, as: 'parent'
2256
2298
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest::Representation
2257
2299
 
2258
2300
  end
@@ -2261,6 +2303,7 @@ module Google
2261
2303
  class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest
2262
2304
  # @private
2263
2305
  class Representation < Google::Apis::Core::JsonRepresentation
2306
+ property :parent, as: 'parent'
2264
2307
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateFileRequest::Representation
2265
2308
 
2266
2309
  end
@@ -2277,6 +2320,7 @@ module Google
2277
2320
  class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
2278
2321
  # @private
2279
2322
  class Representation < Google::Apis::Core::JsonRepresentation
2323
+ property :parent, as: 'parent'
2280
2324
  collection :requests, as: 'requests', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest::Representation
2281
2325
 
2282
2326
  end
@@ -2627,11 +2671,23 @@ module Google
2627
2671
  class Representation < Google::Apis::Core::JsonRepresentation
2628
2672
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
2629
2673
 
2674
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation::Representation
2675
+
2630
2676
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult::Representation
2631
2677
 
2632
2678
  end
2633
2679
  end
2634
2680
 
2681
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation
2682
+ # @private
2683
+ class Representation < Google::Apis::Core::JsonRepresentation
2684
+ property :language_code, as: 'languageCode'
2685
+ property :mid, as: 'mid'
2686
+ property :name, as: 'name'
2687
+ property :score, as: 'score'
2688
+ end
2689
+ end
2690
+
2635
2691
  class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
2636
2692
  # @private
2637
2693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2796,6 +2852,8 @@ module Google
2796
2852
  class GoogleCloudVisionV1p2beta1AnnotateFileResponse
2797
2853
  # @private
2798
2854
  class Representation < Google::Apis::Core::JsonRepresentation
2855
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
2856
+
2799
2857
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1InputConfig::Representation
2800
2858
 
2801
2859
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1AnnotateImageResponse::Representation
@@ -3122,11 +3180,23 @@ module Google
3122
3180
  class Representation < Google::Apis::Core::JsonRepresentation
3123
3181
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
3124
3182
 
3183
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation::Representation
3184
+
3125
3185
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult::Representation
3126
3186
 
3127
3187
  end
3128
3188
  end
3129
3189
 
3190
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation
3191
+ # @private
3192
+ class Representation < Google::Apis::Core::JsonRepresentation
3193
+ property :language_code, as: 'languageCode'
3194
+ property :mid, as: 'mid'
3195
+ property :name, as: 'name'
3196
+ property :score, as: 'score'
3197
+ end
3198
+ end
3199
+
3130
3200
  class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
3131
3201
  # @private
3132
3202
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3284,6 +3354,8 @@ module Google
3284
3354
  class GoogleCloudVisionV1p3beta1AnnotateFileResponse
3285
3355
  # @private
3286
3356
  class Representation < Google::Apis::Core::JsonRepresentation
3357
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
3358
+
3287
3359
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1InputConfig::Representation
3288
3360
 
3289
3361
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1AnnotateImageResponse::Representation
@@ -3629,11 +3701,23 @@ module Google
3629
3701
  class Representation < Google::Apis::Core::JsonRepresentation
3630
3702
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
3631
3703
 
3704
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation::Representation
3705
+
3632
3706
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult::Representation
3633
3707
 
3634
3708
  end
3635
3709
  end
3636
3710
 
3711
+ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation
3712
+ # @private
3713
+ class Representation < Google::Apis::Core::JsonRepresentation
3714
+ property :language_code, as: 'languageCode'
3715
+ property :mid, as: 'mid'
3716
+ property :name, as: 'name'
3717
+ property :score, as: 'score'
3718
+ end
3719
+ end
3720
+
3637
3721
  class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
3638
3722
  # @private
3639
3723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3801,6 +3885,8 @@ module Google
3801
3885
  class GoogleCloudVisionV1p4beta1AnnotateFileResponse
3802
3886
  # @private
3803
3887
  class Representation < Google::Apis::Core::JsonRepresentation
3888
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
3889
+
3804
3890
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1InputConfig::Representation
3805
3891
 
3806
3892
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1AnnotateImageResponse::Representation
@@ -4032,6 +4118,7 @@ module Google
4032
4118
  class GoogleCloudVisionV1p4beta1ImageQuality
4033
4119
  # @private
4034
4120
  class Representation < Google::Apis::Core::JsonRepresentation
4121
+ property :quality_score, as: 'qualityScore'
4035
4122
  end
4036
4123
  end
4037
4124
 
@@ -4172,11 +4259,23 @@ module Google
4172
4259
  class Representation < Google::Apis::Core::JsonRepresentation
4173
4260
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly::Representation
4174
4261
 
4262
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation::Representation
4263
+
4175
4264
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult::Representation
4176
4265
 
4177
4266
  end
4178
4267
  end
4179
4268
 
4269
+ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation
4270
+ # @private
4271
+ class Representation < Google::Apis::Core::JsonRepresentation
4272
+ property :language_code, as: 'languageCode'
4273
+ property :mid, as: 'mid'
4274
+ property :name, as: 'name'
4275
+ property :score, as: 'score'
4276
+ end
4277
+ end
4278
+
4180
4279
  class GoogleCloudVisionV1p4beta1ProductSearchResultsResult
4181
4280
  # @private
4182
4281
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4219,10 +4318,16 @@ module Google
4219
4318
  # @private
4220
4319
  class Representation < Google::Apis::Core::JsonRepresentation
4221
4320
  property :adult, as: 'adult'
4321
+ property :adult_confidence, as: 'adultConfidence'
4222
4322
  property :medical, as: 'medical'
4323
+ property :medical_confidence, as: 'medicalConfidence'
4324
+ property :nsfw_confidence, as: 'nsfwConfidence'
4223
4325
  property :racy, as: 'racy'
4326
+ property :racy_confidence, as: 'racyConfidence'
4224
4327
  property :spoof, as: 'spoof'
4328
+ property :spoof_confidence, as: 'spoofConfidence'
4225
4329
  property :violence, as: 'violence'
4330
+ property :violence_confidence, as: 'violenceConfidence'
4226
4331
  end
4227
4332
  end
4228
4333
 
@@ -4353,6 +4458,8 @@ module Google
4353
4458
  class GoogleCloudVisionV1p5beta1AnnotateFileResponse
4354
4459
  # @private
4355
4460
  class Representation < Google::Apis::Core::JsonRepresentation
4461
+ property :error, as: 'error', class: Google::Apis::VisionV1p1beta1::Status, decorator: Google::Apis::VisionV1p1beta1::Status::Representation
4462
+
4356
4463
  property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1InputConfig, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1InputConfig::Representation
4357
4464
 
4358
4465
  collection :responses, as: 'responses', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateImageResponse, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1AnnotateImageResponse::Representation
@@ -4734,11 +4841,23 @@ module Google
4734
4841
  class Representation < Google::Apis::Core::JsonRepresentation
4735
4842
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly::Representation
4736
4843
 
4844
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation::Representation
4845
+
4737
4846
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult::Representation
4738
4847
 
4739
4848
  end
4740
4849
  end
4741
4850
 
4851
+ class GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation
4852
+ # @private
4853
+ class Representation < Google::Apis::Core::JsonRepresentation
4854
+ property :language_code, as: 'languageCode'
4855
+ property :mid, as: 'mid'
4856
+ property :name, as: 'name'
4857
+ property :score, as: 'score'
4858
+ end
4859
+ end
4860
+
4742
4861
  class GoogleCloudVisionV1p5beta1ProductSearchResultsResult
4743
4862
  # @private
4744
4863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4772,10 +4891,16 @@ module Google
4772
4891
  # @private
4773
4892
  class Representation < Google::Apis::Core::JsonRepresentation
4774
4893
  property :adult, as: 'adult'
4894
+ property :adult_confidence, as: 'adultConfidence'
4775
4895
  property :medical, as: 'medical'
4896
+ property :medical_confidence, as: 'medicalConfidence'
4897
+ property :nsfw_confidence, as: 'nsfwConfidence'
4776
4898
  property :racy, as: 'racy'
4899
+ property :racy_confidence, as: 'racyConfidence'
4777
4900
  property :spoof, as: 'spoof'
4901
+ property :spoof_confidence, as: 'spoofConfidence'
4778
4902
  property :violence, as: 'violence'
4903
+ property :violence_confidence, as: 'violenceConfidence'
4779
4904
  end
4780
4905
  end
4781
4906
 
@@ -4938,6 +5063,8 @@ module Google
4938
5063
  class Representation < Google::Apis::Core::JsonRepresentation
4939
5064
  property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1p1beta1::BoundingPoly, decorator: Google::Apis::VisionV1p1beta1::BoundingPoly::Representation
4940
5065
 
5066
+ collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VisionV1p1beta1::ObjectAnnotation, decorator: Google::Apis::VisionV1p1beta1::ObjectAnnotation::Representation
5067
+
4941
5068
  collection :results, as: 'results', class: Google::Apis::VisionV1p1beta1::Result, decorator: Google::Apis::VisionV1p1beta1::Result::Representation
4942
5069
 
4943
5070
  end
@@ -5032,6 +5159,16 @@ module Google
5032
5159
  end
5033
5160
  end
5034
5161
 
5162
+ class ObjectAnnotation
5163
+ # @private
5164
+ class Representation < Google::Apis::Core::JsonRepresentation
5165
+ property :language_code, as: 'languageCode'
5166
+ property :mid, as: 'mid'
5167
+ property :name, as: 'name'
5168
+ property :score, as: 'score'
5169
+ end
5170
+ end
5171
+
5035
5172
  class Operation
5036
5173
  # @private
5037
5174
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5153,10 +5290,16 @@ module Google
5153
5290
  # @private
5154
5291
  class Representation < Google::Apis::Core::JsonRepresentation
5155
5292
  property :adult, as: 'adult'
5293
+ property :adult_confidence, as: 'adultConfidence'
5156
5294
  property :medical, as: 'medical'
5295
+ property :medical_confidence, as: 'medicalConfidence'
5296
+ property :nsfw_confidence, as: 'nsfwConfidence'
5157
5297
  property :racy, as: 'racy'
5298
+ property :racy_confidence, as: 'racyConfidence'
5158
5299
  property :spoof, as: 'spoof'
5300
+ property :spoof_confidence, as: 'spoofConfidence'
5159
5301
  property :violence, as: 'violence'
5302
+ property :violence_confidence, as: 'violenceConfidence'
5160
5303
  end
5161
5304
  end
5162
5305
 
@@ -184,6 +184,358 @@ module Google
184
184
  command.query['quotaUser'] = quota_user unless quota_user.nil?
185
185
  execute_or_queue_command(command, &block)
186
186
  end
187
+
188
+ # Service that performs image detection and annotation for a batch of files.
189
+ # Now only "application/pdf", "image/tiff" and "image/gif" are supported.
190
+ # This service will extract at most 5 (customers can specify which 5 in
191
+ # AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each
192
+ # file provided and perform detection and annotation for each image
193
+ # extracted.
194
+ # @param [String] parent
195
+ # Optional. Target project and location to make a call.
196
+ # Format: `projects/`project-id`/locations/`location-id``.
197
+ # If no parent is specified, a region will be chosen automatically.
198
+ # Supported location-ids:
199
+ # `us`: USA country only,
200
+ # `asia`: East asia areas, like Japan, Taiwan,
201
+ # `eu`: The European Union.
202
+ # Example: `projects/project-A/locations/eu`.
203
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest] google_cloud_vision_v1p1beta1_batch_annotate_files_request_object
204
+ # @param [String] fields
205
+ # Selector specifying which fields to include in a partial response.
206
+ # @param [String] quota_user
207
+ # Available to use for quota purposes for server-side applications. Can be any
208
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
209
+ # @param [Google::Apis::RequestOptions] options
210
+ # Request-specific options
211
+ #
212
+ # @yield [result, err] Result & error if block supplied
213
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse] parsed result object
214
+ # @yieldparam err [StandardError] error object if request failed
215
+ #
216
+ # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse]
217
+ #
218
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
219
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
220
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
221
+ def annotate_project_file(parent, google_cloud_vision_v1p1beta1_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
222
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/files:annotate', options)
223
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest::Representation
224
+ command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_files_request_object
225
+ command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse::Representation
226
+ command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse
227
+ command.params['parent'] = parent unless parent.nil?
228
+ command.query['fields'] = fields unless fields.nil?
229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
230
+ execute_or_queue_command(command, &block)
231
+ end
232
+
233
+ # Run asynchronous image detection and annotation for a list of generic
234
+ # files, such as PDF files, which may contain multiple pages and multiple
235
+ # images per page. Progress and results can be retrieved through the
236
+ # `google.longrunning.Operations` interface.
237
+ # `Operation.metadata` contains `OperationMetadata` (metadata).
238
+ # `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
239
+ # @param [String] parent
240
+ # Optional. Target project and location to make a call.
241
+ # Format: `projects/`project-id`/locations/`location-id``.
242
+ # If no parent is specified, a region will be chosen automatically.
243
+ # Supported location-ids:
244
+ # `us`: USA country only,
245
+ # `asia`: East asia areas, like Japan, Taiwan,
246
+ # `eu`: The European Union.
247
+ # Example: `projects/project-A/locations/eu`.
248
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest] google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object
249
+ # @param [String] fields
250
+ # Selector specifying which fields to include in a partial response.
251
+ # @param [String] quota_user
252
+ # Available to use for quota purposes for server-side applications. Can be any
253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
254
+ # @param [Google::Apis::RequestOptions] options
255
+ # Request-specific options
256
+ #
257
+ # @yield [result, err] Result & error if block supplied
258
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::Operation] parsed result object
259
+ # @yieldparam err [StandardError] error object if request failed
260
+ #
261
+ # @return [Google::Apis::VisionV1p1beta1::Operation]
262
+ #
263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
266
+ def async_project_file_batch_annotate(parent, google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
267
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/files:asyncBatchAnnotate', options)
268
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest::Representation
269
+ command.request_object = google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object
270
+ command.response_representation = Google::Apis::VisionV1p1beta1::Operation::Representation
271
+ command.response_class = Google::Apis::VisionV1p1beta1::Operation
272
+ command.params['parent'] = parent unless parent.nil?
273
+ command.query['fields'] = fields unless fields.nil?
274
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
275
+ execute_or_queue_command(command, &block)
276
+ end
277
+
278
+ # Run image detection and annotation for a batch of images.
279
+ # @param [String] parent
280
+ # Optional. Target project and location to make a call.
281
+ # Format: `projects/`project-id`/locations/`location-id``.
282
+ # If no parent is specified, a region will be chosen automatically.
283
+ # Supported location-ids:
284
+ # `us`: USA country only,
285
+ # `asia`: East asia areas, like Japan, Taiwan,
286
+ # `eu`: The European Union.
287
+ # Example: `projects/project-A/locations/eu`.
288
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
289
+ # @param [String] fields
290
+ # Selector specifying which fields to include in a partial response.
291
+ # @param [String] quota_user
292
+ # Available to use for quota purposes for server-side applications. Can be any
293
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
294
+ # @param [Google::Apis::RequestOptions] options
295
+ # Request-specific options
296
+ #
297
+ # @yield [result, err] Result & error if block supplied
298
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse] parsed result object
299
+ # @yieldparam err [StandardError] error object if request failed
300
+ #
301
+ # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse]
302
+ #
303
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
304
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
305
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
306
+ def annotate_project_image(parent, google_cloud_vision_v1p1beta1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
307
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/images:annotate', options)
308
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest::Representation
309
+ command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
310
+ command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse::Representation
311
+ command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
312
+ command.params['parent'] = parent unless parent.nil?
313
+ command.query['fields'] = fields unless fields.nil?
314
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
315
+ execute_or_queue_command(command, &block)
316
+ end
317
+
318
+ # Run asynchronous image detection and annotation for a list of images.
319
+ # Progress and results can be retrieved through the
320
+ # `google.longrunning.Operations` interface.
321
+ # `Operation.metadata` contains `OperationMetadata` (metadata).
322
+ # `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).
323
+ # This service will write image annotation outputs to json files in customer
324
+ # GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
325
+ # @param [String] parent
326
+ # Optional. Target project and location to make a call.
327
+ # Format: `projects/`project-id`/locations/`location-id``.
328
+ # If no parent is specified, a region will be chosen automatically.
329
+ # Supported location-ids:
330
+ # `us`: USA country only,
331
+ # `asia`: East asia areas, like Japan, Taiwan,
332
+ # `eu`: The European Union.
333
+ # Example: `projects/project-A/locations/eu`.
334
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object
335
+ # @param [String] fields
336
+ # Selector specifying which fields to include in a partial response.
337
+ # @param [String] quota_user
338
+ # Available to use for quota purposes for server-side applications. Can be any
339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
340
+ # @param [Google::Apis::RequestOptions] options
341
+ # Request-specific options
342
+ #
343
+ # @yield [result, err] Result & error if block supplied
344
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::Operation] parsed result object
345
+ # @yieldparam err [StandardError] error object if request failed
346
+ #
347
+ # @return [Google::Apis::VisionV1p1beta1::Operation]
348
+ #
349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
352
+ def async_project_image_batch_annotate(parent, google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
353
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/images:asyncBatchAnnotate', options)
354
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest::Representation
355
+ command.request_object = google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object
356
+ command.response_representation = Google::Apis::VisionV1p1beta1::Operation::Representation
357
+ command.response_class = Google::Apis::VisionV1p1beta1::Operation
358
+ command.params['parent'] = parent unless parent.nil?
359
+ command.query['fields'] = fields unless fields.nil?
360
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
361
+ execute_or_queue_command(command, &block)
362
+ end
363
+
364
+ # Service that performs image detection and annotation for a batch of files.
365
+ # Now only "application/pdf", "image/tiff" and "image/gif" are supported.
366
+ # This service will extract at most 5 (customers can specify which 5 in
367
+ # AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each
368
+ # file provided and perform detection and annotation for each image
369
+ # extracted.
370
+ # @param [String] parent
371
+ # Optional. Target project and location to make a call.
372
+ # Format: `projects/`project-id`/locations/`location-id``.
373
+ # If no parent is specified, a region will be chosen automatically.
374
+ # Supported location-ids:
375
+ # `us`: USA country only,
376
+ # `asia`: East asia areas, like Japan, Taiwan,
377
+ # `eu`: The European Union.
378
+ # Example: `projects/project-A/locations/eu`.
379
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest] google_cloud_vision_v1p1beta1_batch_annotate_files_request_object
380
+ # @param [String] fields
381
+ # Selector specifying which fields to include in a partial response.
382
+ # @param [String] quota_user
383
+ # Available to use for quota purposes for server-side applications. Can be any
384
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
385
+ # @param [Google::Apis::RequestOptions] options
386
+ # Request-specific options
387
+ #
388
+ # @yield [result, err] Result & error if block supplied
389
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse] parsed result object
390
+ # @yieldparam err [StandardError] error object if request failed
391
+ #
392
+ # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse]
393
+ #
394
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
395
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
396
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
397
+ def annotate_project_location_file(parent, google_cloud_vision_v1p1beta1_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
398
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/files:annotate', options)
399
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest::Representation
400
+ command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_files_request_object
401
+ command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse::Representation
402
+ command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateFilesResponse
403
+ command.params['parent'] = parent unless parent.nil?
404
+ command.query['fields'] = fields unless fields.nil?
405
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
406
+ execute_or_queue_command(command, &block)
407
+ end
408
+
409
+ # Run asynchronous image detection and annotation for a list of generic
410
+ # files, such as PDF files, which may contain multiple pages and multiple
411
+ # images per page. Progress and results can be retrieved through the
412
+ # `google.longrunning.Operations` interface.
413
+ # `Operation.metadata` contains `OperationMetadata` (metadata).
414
+ # `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
415
+ # @param [String] parent
416
+ # Optional. Target project and location to make a call.
417
+ # Format: `projects/`project-id`/locations/`location-id``.
418
+ # If no parent is specified, a region will be chosen automatically.
419
+ # Supported location-ids:
420
+ # `us`: USA country only,
421
+ # `asia`: East asia areas, like Japan, Taiwan,
422
+ # `eu`: The European Union.
423
+ # Example: `projects/project-A/locations/eu`.
424
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest] google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object
425
+ # @param [String] fields
426
+ # Selector specifying which fields to include in a partial response.
427
+ # @param [String] quota_user
428
+ # Available to use for quota purposes for server-side applications. Can be any
429
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
430
+ # @param [Google::Apis::RequestOptions] options
431
+ # Request-specific options
432
+ #
433
+ # @yield [result, err] Result & error if block supplied
434
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::Operation] parsed result object
435
+ # @yieldparam err [StandardError] error object if request failed
436
+ #
437
+ # @return [Google::Apis::VisionV1p1beta1::Operation]
438
+ #
439
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
442
+ def async_project_location_file_batch_annotate(parent, google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
443
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/files:asyncBatchAnnotate', options)
444
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest::Representation
445
+ command.request_object = google_cloud_vision_v1p1beta1_async_batch_annotate_files_request_object
446
+ command.response_representation = Google::Apis::VisionV1p1beta1::Operation::Representation
447
+ command.response_class = Google::Apis::VisionV1p1beta1::Operation
448
+ command.params['parent'] = parent unless parent.nil?
449
+ command.query['fields'] = fields unless fields.nil?
450
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
451
+ execute_or_queue_command(command, &block)
452
+ end
453
+
454
+ # Run image detection and annotation for a batch of images.
455
+ # @param [String] parent
456
+ # Optional. Target project and location to make a call.
457
+ # Format: `projects/`project-id`/locations/`location-id``.
458
+ # If no parent is specified, a region will be chosen automatically.
459
+ # Supported location-ids:
460
+ # `us`: USA country only,
461
+ # `asia`: East asia areas, like Japan, Taiwan,
462
+ # `eu`: The European Union.
463
+ # Example: `projects/project-A/locations/eu`.
464
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
465
+ # @param [String] fields
466
+ # Selector specifying which fields to include in a partial response.
467
+ # @param [String] quota_user
468
+ # Available to use for quota purposes for server-side applications. Can be any
469
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
470
+ # @param [Google::Apis::RequestOptions] options
471
+ # Request-specific options
472
+ #
473
+ # @yield [result, err] Result & error if block supplied
474
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse] parsed result object
475
+ # @yieldparam err [StandardError] error object if request failed
476
+ #
477
+ # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse]
478
+ #
479
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
482
+ def annotate_project_location_image(parent, google_cloud_vision_v1p1beta1_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
483
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/images:annotate', options)
484
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest::Representation
485
+ command.request_object = google_cloud_vision_v1p1beta1_batch_annotate_images_request_object
486
+ command.response_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse::Representation
487
+ command.response_class = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BatchAnnotateImagesResponse
488
+ command.params['parent'] = parent unless parent.nil?
489
+ command.query['fields'] = fields unless fields.nil?
490
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
491
+ execute_or_queue_command(command, &block)
492
+ end
493
+
494
+ # Run asynchronous image detection and annotation for a list of images.
495
+ # Progress and results can be retrieved through the
496
+ # `google.longrunning.Operations` interface.
497
+ # `Operation.metadata` contains `OperationMetadata` (metadata).
498
+ # `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).
499
+ # This service will write image annotation outputs to json files in customer
500
+ # GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
501
+ # @param [String] parent
502
+ # Optional. Target project and location to make a call.
503
+ # Format: `projects/`project-id`/locations/`location-id``.
504
+ # If no parent is specified, a region will be chosen automatically.
505
+ # Supported location-ids:
506
+ # `us`: USA country only,
507
+ # `asia`: East asia areas, like Japan, Taiwan,
508
+ # `eu`: The European Union.
509
+ # Example: `projects/project-A/locations/eu`.
510
+ # @param [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest] google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object
511
+ # @param [String] fields
512
+ # Selector specifying which fields to include in a partial response.
513
+ # @param [String] quota_user
514
+ # Available to use for quota purposes for server-side applications. Can be any
515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
516
+ # @param [Google::Apis::RequestOptions] options
517
+ # Request-specific options
518
+ #
519
+ # @yield [result, err] Result & error if block supplied
520
+ # @yieldparam result [Google::Apis::VisionV1p1beta1::Operation] parsed result object
521
+ # @yieldparam err [StandardError] error object if request failed
522
+ #
523
+ # @return [Google::Apis::VisionV1p1beta1::Operation]
524
+ #
525
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
526
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
527
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
528
+ def async_project_location_image_batch_annotate(parent, google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
529
+ command = make_simple_command(:post, 'v1p1beta1/{+parent}/images:asyncBatchAnnotate', options)
530
+ command.request_representation = Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncBatchAnnotateImagesRequest::Representation
531
+ command.request_object = google_cloud_vision_v1p1beta1_async_batch_annotate_images_request_object
532
+ command.response_representation = Google::Apis::VisionV1p1beta1::Operation::Representation
533
+ command.response_class = Google::Apis::VisionV1p1beta1::Operation
534
+ command.params['parent'] = parent unless parent.nil?
535
+ command.query['fields'] = fields unless fields.nil?
536
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
537
+ execute_or_queue_command(command, &block)
538
+ end
187
539
 
188
540
  protected
189
541