google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -22,37 +22,73 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
- class ImageSource
25
+ class AnnotateImageRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class AnnotateImageRequest
31
+ class Status
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class AnnotateImageResponse
37
+ class LatLongRect
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class LatLongRect
43
+ class Symbol
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class Status
49
+ class CropHintsAnnotation
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class FaceAnnotation
55
+ class LatLng
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Color
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ImageProperties
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Feature
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class SafeSearchAnnotation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DominantColorsAnnotation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class TextAnnotation
56
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
93
 
58
94
  include Google::Apis::Core::JsonObjectSupport
@@ -64,7 +100,19 @@ module Google
64
100
  include Google::Apis::Core::JsonObjectSupport
65
101
  end
66
102
 
67
- class ColorInfo
103
+ class DetectedLanguage
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class WebEntity
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class TextProperty
68
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
117
 
70
118
  include Google::Apis::Core::JsonObjectSupport
@@ -76,37 +124,37 @@ module Google
76
124
  include Google::Apis::Core::JsonObjectSupport
77
125
  end
78
126
 
79
- class Landmark
127
+ class AnnotateImageResponse
80
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
129
 
82
130
  include Google::Apis::Core::JsonObjectSupport
83
131
  end
84
132
 
85
- class ImageContext
133
+ class CropHintsParams
86
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
135
 
88
136
  include Google::Apis::Core::JsonObjectSupport
89
137
  end
90
138
 
91
- class BatchAnnotateImagesRequest
139
+ class Block
92
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
141
 
94
142
  include Google::Apis::Core::JsonObjectSupport
95
143
  end
96
144
 
97
- class EntityAnnotation
145
+ class WebDetection
98
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
147
 
100
148
  include Google::Apis::Core::JsonObjectSupport
101
149
  end
102
150
 
103
- class Property
151
+ class BatchAnnotateImagesResponse
104
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
153
 
106
154
  include Google::Apis::Core::JsonObjectSupport
107
155
  end
108
156
 
109
- class Color
157
+ class ImageSource
110
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
159
 
112
160
  include Google::Apis::Core::JsonObjectSupport
@@ -118,59 +166,100 @@ module Google
118
166
  include Google::Apis::Core::JsonObjectSupport
119
167
  end
120
168
 
121
- class SafeSearchAnnotation
169
+ class Property
122
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
171
 
124
172
  include Google::Apis::Core::JsonObjectSupport
125
173
  end
126
174
 
127
- class Image
175
+ class Position
128
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
177
 
130
178
  include Google::Apis::Core::JsonObjectSupport
131
179
  end
132
180
 
133
- class DominantColorsAnnotation
181
+ class WebPage
134
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
183
 
136
184
  include Google::Apis::Core::JsonObjectSupport
137
185
  end
138
186
 
139
- class Feature
187
+ class ColorInfo
140
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
189
 
142
190
  include Google::Apis::Core::JsonObjectSupport
143
191
  end
144
192
 
145
- class BatchAnnotateImagesResponse
193
+ class EntityAnnotation
146
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
195
 
148
196
  include Google::Apis::Core::JsonObjectSupport
149
197
  end
150
198
 
151
- class ImageProperties
199
+ class CropHint
152
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
201
 
154
202
  include Google::Apis::Core::JsonObjectSupport
155
203
  end
156
204
 
157
- class LatLng
205
+ class Landmark
158
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
207
 
160
208
  include Google::Apis::Core::JsonObjectSupport
161
209
  end
162
210
 
163
- class Position
211
+ class WebImage
164
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
213
 
166
214
  include Google::Apis::Core::JsonObjectSupport
167
215
  end
168
216
 
169
- class ImageSource
170
- # @private
171
- class Representation < Google::Apis::Core::JsonRepresentation
172
- property :gcs_image_uri, as: 'gcsImageUri'
173
- end
217
+ class Word
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Paragraph
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Image
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class FaceAnnotation
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class BatchAnnotateImagesRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class DetectedBreak
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ImageContext
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Page
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
174
263
  end
175
264
 
176
265
  class AnnotateImageRequest
@@ -178,96 +267,147 @@ module Google
178
267
  class Representation < Google::Apis::Core::JsonRepresentation
179
268
  property :image, as: 'image', class: Google::Apis::VisionV1::Image, decorator: Google::Apis::VisionV1::Image::Representation
180
269
 
270
+ collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
271
+
181
272
  property :image_context, as: 'imageContext', class: Google::Apis::VisionV1::ImageContext, decorator: Google::Apis::VisionV1::ImageContext::Representation
182
273
 
183
- collection :features, as: 'features', class: Google::Apis::VisionV1::Feature, decorator: Google::Apis::VisionV1::Feature::Representation
274
+ end
275
+ end
184
276
 
277
+ class Status
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :code, as: 'code'
281
+ property :message, as: 'message'
282
+ collection :details, as: 'details'
185
283
  end
186
284
  end
187
285
 
188
- class AnnotateImageResponse
286
+ class LatLongRect
189
287
  # @private
190
288
  class Representation < Google::Apis::Core::JsonRepresentation
191
- collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
289
+ property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
192
290
 
193
- collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
291
+ property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
194
292
 
195
- property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
293
+ end
294
+ end
196
295
 
197
- property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
296
+ class Symbol
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :text, as: 'text'
300
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
198
301
 
199
- collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
302
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
200
303
 
201
- collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
304
+ end
305
+ end
202
306
 
203
- collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
307
+ class CropHintsAnnotation
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ collection :crop_hints, as: 'cropHints', class: Google::Apis::VisionV1::CropHint, decorator: Google::Apis::VisionV1::CropHint::Representation
204
311
 
205
- property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
312
+ end
313
+ end
206
314
 
315
+ class LatLng
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ property :latitude, as: 'latitude'
319
+ property :longitude, as: 'longitude'
207
320
  end
208
321
  end
209
322
 
210
- class LatLongRect
323
+ class Color
211
324
  # @private
212
325
  class Representation < Google::Apis::Core::JsonRepresentation
213
- property :max_lat_lng, as: 'maxLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
326
+ property :green, as: 'green'
327
+ property :blue, as: 'blue'
328
+ property :alpha, as: 'alpha'
329
+ property :red, as: 'red'
330
+ end
331
+ end
214
332
 
215
- property :min_lat_lng, as: 'minLatLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
333
+ class ImageProperties
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
216
337
 
217
338
  end
218
339
  end
219
340
 
220
- class Status
341
+ class Feature
221
342
  # @private
222
343
  class Representation < Google::Apis::Core::JsonRepresentation
223
- property :code, as: 'code'
224
- collection :details, as: 'details'
225
- property :message, as: 'message'
344
+ property :type, as: 'type'
345
+ property :max_results, as: 'maxResults'
226
346
  end
227
347
  end
228
348
 
229
- class FaceAnnotation
349
+ class SafeSearchAnnotation
230
350
  # @private
231
351
  class Representation < Google::Apis::Core::JsonRepresentation
232
- property :tilt_angle, as: 'tiltAngle'
233
- property :under_exposed_likelihood, as: 'underExposedLikelihood'
234
- property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
352
+ property :adult, as: 'adult'
353
+ property :spoof, as: 'spoof'
354
+ property :medical, as: 'medical'
355
+ property :violence, as: 'violence'
356
+ end
357
+ end
235
358
 
236
- property :landmarking_confidence, as: 'landmarkingConfidence'
237
- property :joy_likelihood, as: 'joyLikelihood'
238
- property :detection_confidence, as: 'detectionConfidence'
239
- property :surprise_likelihood, as: 'surpriseLikelihood'
240
- property :anger_likelihood, as: 'angerLikelihood'
241
- property :headwear_likelihood, as: 'headwearLikelihood'
242
- property :pan_angle, as: 'panAngle'
243
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
359
+ class DominantColorsAnnotation
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
244
363
 
245
- collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
364
+ end
365
+ end
246
366
 
247
- property :blurred_likelihood, as: 'blurredLikelihood'
248
- property :roll_angle, as: 'rollAngle'
249
- property :sorrow_likelihood, as: 'sorrowLikelihood'
367
+ class TextAnnotation
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ collection :pages, as: 'pages', class: Google::Apis::VisionV1::Page, decorator: Google::Apis::VisionV1::Page::Representation
371
+
372
+ property :text, as: 'text'
250
373
  end
251
374
  end
252
375
 
253
376
  class Vertex
254
377
  # @private
255
378
  class Representation < Google::Apis::Core::JsonRepresentation
256
- property :y, as: 'y'
257
379
  property :x, as: 'x'
380
+ property :y, as: 'y'
258
381
  end
259
382
  end
260
383
 
261
- class ColorInfo
384
+ class DetectedLanguage
262
385
  # @private
263
386
  class Representation < Google::Apis::Core::JsonRepresentation
264
- property :pixel_fraction, as: 'pixelFraction'
265
- property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
387
+ property :confidence, as: 'confidence'
388
+ property :language_code, as: 'languageCode'
389
+ end
390
+ end
266
391
 
392
+ class WebEntity
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :entity_id, as: 'entityId'
396
+ property :description, as: 'description'
267
397
  property :score, as: 'score'
268
398
  end
269
399
  end
270
400
 
401
+ class TextProperty
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :detected_break, as: 'detectedBreak', class: Google::Apis::VisionV1::DetectedBreak, decorator: Google::Apis::VisionV1::DetectedBreak::Representation
405
+
406
+ collection :detected_languages, as: 'detectedLanguages', class: Google::Apis::VisionV1::DetectedLanguage, decorator: Google::Apis::VisionV1::DetectedLanguage::Representation
407
+
408
+ end
409
+ end
410
+
271
411
  class BoundingPoly
272
412
  # @private
273
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -276,28 +416,126 @@ module Google
276
416
  end
277
417
  end
278
418
 
279
- class Landmark
419
+ class AnnotateImageResponse
280
420
  # @private
281
421
  class Representation < Google::Apis::Core::JsonRepresentation
282
- property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
422
+ property :error, as: 'error', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
423
+
424
+ property :full_text_annotation, as: 'fullTextAnnotation', class: Google::Apis::VisionV1::TextAnnotation, decorator: Google::Apis::VisionV1::TextAnnotation::Representation
425
+
426
+ collection :landmark_annotations, as: 'landmarkAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
427
+
428
+ collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
429
+
430
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VisionV1::FaceAnnotation, decorator: Google::Apis::VisionV1::FaceAnnotation::Representation
431
+
432
+ property :image_properties_annotation, as: 'imagePropertiesAnnotation', class: Google::Apis::VisionV1::ImageProperties, decorator: Google::Apis::VisionV1::ImageProperties::Representation
433
+
434
+ collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
435
+
436
+ property :web_detection, as: 'webDetection', class: Google::Apis::VisionV1::WebDetection, decorator: Google::Apis::VisionV1::WebDetection::Representation
437
+
438
+ property :crop_hints_annotation, as: 'cropHintsAnnotation', class: Google::Apis::VisionV1::CropHintsAnnotation, decorator: Google::Apis::VisionV1::CropHintsAnnotation::Representation
439
+
440
+ property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
441
+
442
+ collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
283
443
 
284
- property :type, as: 'type'
285
444
  end
286
445
  end
287
446
 
288
- class ImageContext
447
+ class CropHintsParams
289
448
  # @private
290
449
  class Representation < Google::Apis::Core::JsonRepresentation
291
- property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
450
+ collection :aspect_ratios, as: 'aspectRatios'
451
+ end
452
+ end
453
+
454
+ class Block
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
458
+
459
+ property :block_type, as: 'blockType'
460
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
461
+
462
+ collection :paragraphs, as: 'paragraphs', class: Google::Apis::VisionV1::Paragraph, decorator: Google::Apis::VisionV1::Paragraph::Representation
292
463
 
293
- collection :language_hints, as: 'languageHints'
294
464
  end
295
465
  end
296
466
 
297
- class BatchAnnotateImagesRequest
467
+ class WebDetection
298
468
  # @private
299
469
  class Representation < Google::Apis::Core::JsonRepresentation
300
- collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
470
+ collection :full_matching_images, as: 'fullMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
471
+
472
+ collection :web_entities, as: 'webEntities', class: Google::Apis::VisionV1::WebEntity, decorator: Google::Apis::VisionV1::WebEntity::Representation
473
+
474
+ collection :pages_with_matching_images, as: 'pagesWithMatchingImages', class: Google::Apis::VisionV1::WebPage, decorator: Google::Apis::VisionV1::WebPage::Representation
475
+
476
+ collection :partial_matching_images, as: 'partialMatchingImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
477
+
478
+ collection :visually_similar_images, as: 'visuallySimilarImages', class: Google::Apis::VisionV1::WebImage, decorator: Google::Apis::VisionV1::WebImage::Representation
479
+
480
+ end
481
+ end
482
+
483
+ class BatchAnnotateImagesResponse
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
487
+
488
+ end
489
+ end
490
+
491
+ class ImageSource
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :image_uri, as: 'imageUri'
495
+ property :gcs_image_uri, as: 'gcsImageUri'
496
+ end
497
+ end
498
+
499
+ class LocationInfo
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
503
+
504
+ end
505
+ end
506
+
507
+ class Property
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :value, as: 'value'
511
+ property :uint64_value, as: 'uint64Value'
512
+ property :name, as: 'name'
513
+ end
514
+ end
515
+
516
+ class Position
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :y, as: 'y'
520
+ property :x, as: 'x'
521
+ property :z, as: 'z'
522
+ end
523
+ end
524
+
525
+ class WebPage
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :score, as: 'score'
529
+ property :url, as: 'url'
530
+ end
531
+ end
532
+
533
+ class ColorInfo
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :score, as: 'score'
537
+ property :pixel_fraction, as: 'pixelFraction'
538
+ property :color, as: 'color', class: Google::Apis::VisionV1::Color, decorator: Google::Apis::VisionV1::Color::Representation
301
539
 
302
540
  end
303
541
  end
@@ -306,111 +544,140 @@ module Google
306
544
  # @private
307
545
  class Representation < Google::Apis::Core::JsonRepresentation
308
546
  property :mid, as: 'mid'
547
+ property :confidence, as: 'confidence'
548
+ property :locale, as: 'locale'
549
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
550
+
309
551
  property :description, as: 'description'
310
552
  property :topicality, as: 'topicality'
311
- property :locale, as: 'locale'
312
553
  collection :properties, as: 'properties', class: Google::Apis::VisionV1::Property, decorator: Google::Apis::VisionV1::Property::Representation
313
554
 
314
555
  property :score, as: 'score'
315
- property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
316
-
317
556
  collection :locations, as: 'locations', class: Google::Apis::VisionV1::LocationInfo, decorator: Google::Apis::VisionV1::LocationInfo::Representation
318
557
 
319
- property :confidence, as: 'confidence'
320
558
  end
321
559
  end
322
560
 
323
- class Property
561
+ class CropHint
324
562
  # @private
325
563
  class Representation < Google::Apis::Core::JsonRepresentation
326
- property :value, as: 'value'
327
- property :name, as: 'name'
564
+ property :confidence, as: 'confidence'
565
+ property :importance_fraction, as: 'importanceFraction'
566
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
567
+
328
568
  end
329
569
  end
330
570
 
331
- class Color
571
+ class Landmark
332
572
  # @private
333
573
  class Representation < Google::Apis::Core::JsonRepresentation
334
- property :green, as: 'green'
335
- property :blue, as: 'blue'
336
- property :red, as: 'red'
337
- property :alpha, as: 'alpha'
574
+ property :position, as: 'position', class: Google::Apis::VisionV1::Position, decorator: Google::Apis::VisionV1::Position::Representation
575
+
576
+ property :type, as: 'type'
338
577
  end
339
578
  end
340
579
 
341
- class LocationInfo
580
+ class WebImage
342
581
  # @private
343
582
  class Representation < Google::Apis::Core::JsonRepresentation
344
- property :lat_lng, as: 'latLng', class: Google::Apis::VisionV1::LatLng, decorator: Google::Apis::VisionV1::LatLng::Representation
345
-
583
+ property :score, as: 'score'
584
+ property :url, as: 'url'
346
585
  end
347
586
  end
348
587
 
349
- class SafeSearchAnnotation
588
+ class Word
350
589
  # @private
351
590
  class Representation < Google::Apis::Core::JsonRepresentation
352
- property :medical, as: 'medical'
353
- property :spoof, as: 'spoof'
354
- property :violence, as: 'violence'
355
- property :adult, as: 'adult'
591
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
592
+
593
+ collection :symbols, as: 'symbols', class: Google::Apis::VisionV1::Symbol, decorator: Google::Apis::VisionV1::Symbol::Representation
594
+
595
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
596
+
356
597
  end
357
598
  end
358
599
 
359
- class Image
600
+ class Paragraph
360
601
  # @private
361
602
  class Representation < Google::Apis::Core::JsonRepresentation
362
- property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
603
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
604
+
605
+ property :bounding_box, as: 'boundingBox', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
606
+
607
+ collection :words, as: 'words', class: Google::Apis::VisionV1::Word, decorator: Google::Apis::VisionV1::Word::Representation
363
608
 
364
- property :content, :base64 => true, as: 'content'
365
609
  end
366
610
  end
367
611
 
368
- class DominantColorsAnnotation
612
+ class Image
369
613
  # @private
370
614
  class Representation < Google::Apis::Core::JsonRepresentation
371
- collection :colors, as: 'colors', class: Google::Apis::VisionV1::ColorInfo, decorator: Google::Apis::VisionV1::ColorInfo::Representation
615
+ property :content, :base64 => true, as: 'content'
616
+ property :source, as: 'source', class: Google::Apis::VisionV1::ImageSource, decorator: Google::Apis::VisionV1::ImageSource::Representation
372
617
 
373
618
  end
374
619
  end
375
620
 
376
- class Feature
621
+ class FaceAnnotation
377
622
  # @private
378
623
  class Representation < Google::Apis::Core::JsonRepresentation
379
- property :type, as: 'type'
380
- property :max_results, as: 'maxResults'
624
+ property :tilt_angle, as: 'tiltAngle'
625
+ property :fd_bounding_poly, as: 'fdBoundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
626
+
627
+ property :anger_likelihood, as: 'angerLikelihood'
628
+ collection :landmarks, as: 'landmarks', class: Google::Apis::VisionV1::Landmark, decorator: Google::Apis::VisionV1::Landmark::Representation
629
+
630
+ property :surprise_likelihood, as: 'surpriseLikelihood'
631
+ property :landmarking_confidence, as: 'landmarkingConfidence'
632
+ property :joy_likelihood, as: 'joyLikelihood'
633
+ property :detection_confidence, as: 'detectionConfidence'
634
+ property :pan_angle, as: 'panAngle'
635
+ property :under_exposed_likelihood, as: 'underExposedLikelihood'
636
+ property :blurred_likelihood, as: 'blurredLikelihood'
637
+ property :headwear_likelihood, as: 'headwearLikelihood'
638
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
639
+
640
+ property :roll_angle, as: 'rollAngle'
641
+ property :sorrow_likelihood, as: 'sorrowLikelihood'
381
642
  end
382
643
  end
383
644
 
384
- class BatchAnnotateImagesResponse
645
+ class BatchAnnotateImagesRequest
385
646
  # @private
386
647
  class Representation < Google::Apis::Core::JsonRepresentation
387
- collection :responses, as: 'responses', class: Google::Apis::VisionV1::AnnotateImageResponse, decorator: Google::Apis::VisionV1::AnnotateImageResponse::Representation
648
+ collection :requests, as: 'requests', class: Google::Apis::VisionV1::AnnotateImageRequest, decorator: Google::Apis::VisionV1::AnnotateImageRequest::Representation
388
649
 
389
650
  end
390
651
  end
391
652
 
392
- class ImageProperties
653
+ class DetectedBreak
393
654
  # @private
394
655
  class Representation < Google::Apis::Core::JsonRepresentation
395
- property :dominant_colors, as: 'dominantColors', class: Google::Apis::VisionV1::DominantColorsAnnotation, decorator: Google::Apis::VisionV1::DominantColorsAnnotation::Representation
396
-
656
+ property :type, as: 'type'
657
+ property :is_prefix, as: 'isPrefix'
397
658
  end
398
659
  end
399
660
 
400
- class LatLng
661
+ class ImageContext
401
662
  # @private
402
663
  class Representation < Google::Apis::Core::JsonRepresentation
403
- property :latitude, as: 'latitude'
404
- property :longitude, as: 'longitude'
664
+ collection :language_hints, as: 'languageHints'
665
+ property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
666
+
667
+ property :crop_hints_params, as: 'cropHintsParams', class: Google::Apis::VisionV1::CropHintsParams, decorator: Google::Apis::VisionV1::CropHintsParams::Representation
668
+
405
669
  end
406
670
  end
407
671
 
408
- class Position
672
+ class Page
409
673
  # @private
410
674
  class Representation < Google::Apis::Core::JsonRepresentation
411
- property :y, as: 'y'
412
- property :x, as: 'x'
413
- property :z, as: 'z'
675
+ property :width, as: 'width'
676
+ collection :blocks, as: 'blocks', class: Google::Apis::VisionV1::Block, decorator: Google::Apis::VisionV1::Block::Representation
677
+
678
+ property :property, as: 'property', class: Google::Apis::VisionV1::TextProperty, decorator: Google::Apis::VisionV1::TextProperty::Representation
679
+
680
+ property :height, as: 'height'
414
681
  end
415
682
  end
416
683
  end